This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: True case-sensitive filenames
- From: "Gerald S. Williams" <gsw at agere dot com>
- To: <cygwin-developers at cygwin dot com>
- Date: Wed, 22 Jan 2003 14:47:21 -0500
- Subject: Re: True case-sensitive filenames
Christopher Faylor wrote:
> Huh? Weren't we talking about using POSIX_SEMANTICS to provide
> case sensitivity? I wasn't straying from that.
Good, we were on the same page. I was getting worried. :-)
Unfortunately, Microsoft didn't provide POSIX_SEMANTICS for
CreateDirectory(), RemoveDirectory(), or MoveFile(). We can
provide NT-specific alternatives for all three, although it
may not be possible to provide case-sensitive replacements
(at least not portably) under Win9X/ME.
Another option would be to accept (and document) the naming
restrictions that using those functions would cause, but it
sounds like you already ruled that out.
-Jerry
P.S. Assuming we're going with the NT-specific alternatives,
we still need to implement a case-sensitive directory
rename. I expect it may require the Native API. I wish
there were some way I could take a quick peek at NT's
MoveFile() implementation. :-)