Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com From: "Gerald S. Williams" To: Subject: Re: True case-sensitive filenames Date: Wed, 22 Jan 2003 14:47:21 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: 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. :-)