delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/09/11:17:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <399116F3.FF5C5078@cygnus.com>
Date: Wed, 09 Aug 2000 10:31:47 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Andrea Malagoli <a-malagoli AT uchicago DOT edu>
CC: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: File names in Cygwin
References: <000701c00189$164ff4e0$87988780 AT andyhome>

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 AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019