delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/04/12/17:59:42

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <vinschen AT redhat DOT com>
To: cygdev <cygwin-developers AT cygwin DOT com>
Subject: New case sensitivity extension
Message-ID: <20010412235921.I20490@cygbert.vinschen.de>
Reply-To: Corinna Vinschen <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: cygdev <cygwin-developers AT cygwin DOT com>
Mime-Version: 1.0
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.

- Raw text -


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