This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: File names in Cygwin
- To: Andrea Malagoli <a-malagoli at uchicago dot edu>
- Subject: Re: File names in Cygwin
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Wed, 09 Aug 2000 10:31:47 +0200
- CC: Cygwin <cygwin at sources dot redhat dot com>
- References: <000701c00189$164ff4e0$87988780@andyhome>
- Reply-To: cygwin <cygwin at sources dot redhat dot com>
Andrea Malagoli wrote:
>
> I am running Cygwin 1.1.4 under Win2K. In my settings I am
> noticing that file names are really case insensitive. So, for example,
>
> cat myfile.c > MyFile.C
>
> gives a warning that the two files are identical, with bad results.
>
> This is probably related with the fact that Windows itself has
> files that are effectively case insensitive.
> I was wondering if there is a workaround, because this creates problems
> when porting applications to Cygwin.
> I am using NTFS, and CYGWIN is ntsec binary tty title
Other posix layers use that but they have a good reason to
name themselves a `subsystem'.
Sergey Okhapkin had posted a patch to use POSIX_SEMANTICS as flag
to file open calls in 1998 (97? don't know). That patch has never
made it's way into the official Cygwin sources since it's very
problematic in use. However, you can take a look into that patch:
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Okhapkin_Sergey/mixed-case.diff
It's related to an older version of Cygwin but it should give
a good insight in what to do if you decide to patch your local
version of Cygwin.
Please note, that nearly nobody could help if you encounter
problems with case sesitive file name settings!
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com