tobold.org

correct • elegant • free

△ Comp.lang.c △

◅ Pointers and comments

Sending a mail with attachment ▻

path specifications -- any guarantees?

In article <36954D96.8F0F7B1D@wizard.net>,
James Kuyper  <kuyper@wizard.net> wrote:
>                                                                 For
>instance, many compilers for DOS/Windows will translate forward slashes
>into backslashes.

Are you sure?  At the system call level, Win32 accepts both `\' and `/'
as path separators; it is only the DOS command shell which insists on
`\'.

I don't believe Win32 compilers perform any translation of pathnames.

Tim.
--
Tim Goodwin       | "The FSF likes to write programs that require twice as much
Univ of Leicester | memory as your machine has today :-) ." -- Steve Summit

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: comp.std.c
Subject: Re: path specifications  -- any guarantees?
Date: 8 Jan 1999 13:55:17 -0000
Organization: A poorly-installed InterNetNews site
Message-ID: <7752o5$38h$1@ltpcg.star.le.ac.uk>
References: <XNal2.135$Wq6.177005@client.news.psi.net>
  <36954D96.8F0F7B1D@wizard.net>

△ Comp.lang.c △

◅ Pointers and comments

Sending a mail with attachment ▻