-----Original Message-----
From: Anthony Williams [mailto:anthwil@nortelnetworks.com]
Sent: 13 August 2002 09:28
To: Williams, Anthony [PAI01:3497:EXCH]
Subject: [boost] Re: [filesystem] documentation nitpick
> > From: Carl Daniel[SMTP:CPDANIEL@PACBELL.NET]
> > Sent: Tuesday, August 13, 2002 12:13:07 AM
> "Thomas Witt" <witt@ive.uni-hannover.de> wrote in message
> news:200208121937.41760.witt@ive.uni-hannover.de...
> > Have a look at the attached program. Compile (SUBSYSTEM:console) and run.
> It
> > will create two files with filenames differing only in case. BTW this only
> > works for NTFS (i.e. not for network shares).
>
> Ah yes - FILE_FLAG_POSIX_SEMANTICS. That does raise an interesting question
> though:
>
> This flag is provided by the Win32 API to allow programs such as
> backup/restore programs to properly process directories containing files
> created by POSIX programs, which may have names differing only in case.
>
> Should the filesystem library provide access to such subtleties?
>
> I'd be inclined to say no, but others might disagree.
I'm here to disagree --- we certainly ought to allow access to such files with
the filesystem library. I think it is important that the filesystem library
allows us to manipulate every manipulatable file on a given system. You might
want to make it an option, though --- pass in a "case-insensitive" flag when
constructing a path, perhaps.
Anthony