| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-developers-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin-developers AT cygwin DOT com |
| From: | "Gerald S. Williams" <gsw AT agere DOT com> |
| To: | <cygwin-developers AT cygwin DOT com> |
| Subject: | Re: True case-sensitive filenames |
| Date: | Wed, 22 Jan 2003 14:47:21 -0500 |
| Message-ID: | <GBEGLOMMCLDACBPKDIHFIEBPDBAA.gsw@agere.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
| Importance: | Normal |
| In-Reply-To: | <GBEGLOMMCLDACBPKDIHFOEBNDBAA.gsw@agere.com> |
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. :-)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |