Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Thu, 12 Apr 2001 23:59:21 +0200 From: Corinna Vinschen To: cygdev Subject: New case sensitivity extension Message-ID: <20010412235921.I20490@cygbert.vinschen.de> Reply-To: Corinna Vinschen Mail-Followup-To: cygdev Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Hi all, I have just added a new CYGWIN setting to Cygwin which changes Cygwins behaviour related to case differences in filenames. The new CYGWIN setting is called "check_case" and could have one of three values: - check_case:relaxed Is the default and what we all know. Nothing happens. - check_case:adjust The given POSIX path is checked for case while it's converted to a DOS path. If the case is different from what's given on the disk, the DOS path is silently adjusted to the correct case. This is mostly invisible but you can see the effect when you change the directory. For example, if a directory /Foo/BAR is given and one cds to /foo/bar. a following call to /bin/pwd returns "/Foo/BAR", while with the `relaxed' setting "/foo/bar" is returned. - check_case:strict If the path given has the wrong case, an error is returned. For example, trying to open a file "Foo" when the file on disk is named "FOO", the error "No such file or directory" (ENOENT) is returned. If somebody tries to create a file "BAR" while a file "Bar" already exists, the new error message "Filename exists with different case" is returned. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.