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: | "Sergey Okhapkin" <sos AT sokhapkin DOT dyndns DOT org> |
To: | "'Gerald S. Williams'" <gsw AT agere DOT com>, <cygwin-developers AT cygwin DOT com> |
Subject: | RE: True case-sensitive filenames |
Date: | Mon, 20 Jan 2003 15:36:14 -0500 |
Message-ID: | <59A835EDCDDBEB46BC75402F4604D55231AE32@elmer> |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
In-Reply-To: | <GBEGLOMMCLDACBPKDIHFAEOODAAA.gsw@agere.com> |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Importance: | Normal |
X-OriginalArrivalTime: | 20 Jan 2003 20:36:14.0539 (UTC) FILETIME=[937CF1B0:01C2C0C3] |
Hmmm... Looks like hardlink method should work... The second argument why my patch was not accepted by cygwin maintainer Geof Noer a while ago was that the customers who bought cygwin support often use windows tools to create and edit files (like notepad) and mixed case filenames may fool them. Chris, is it still an issue? > -----Original Message----- > From: cygwin-developers-owner AT cygwin DOT com > [mailto:cygwin-developers-owner AT cygwin DOT com] On Behalf Of > Gerald S. Williams > Sent: Monday, January 20, 2003 2:13 PM > To: cygwin-developers AT cygwin DOT com > Subject: RE: True case-sensitive filenames > > > Sergey Okhapkin wrote: > > See my previous message - MoveFile("asdf", "ASDF") will delete > > existing file "AsDf". > > I see. Perhaps another possibility would be to create a > hardlink and then delete the old file. You couldn't use the > CreateHardLink() function, since it has the same case > problems (and is NT5+ only), but there are other ways > (http://www.mvps.org/win32/ntfs/lnw.html, > for example--I > think U/Win does something similar). You can always fall back > on the copy/delete mechanism, which appears to be there for > Win95 anyway. > > -Jerry >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |