delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/12:16:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 12 Sep 2002 14:29:41 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Paul Johnston <paj AT pajhome DOT org DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Release candidate 1: /etc/hosts
In-Reply-To: <3D80DB35.5A274D7C@pajhome.org.uk>
Message-ID: <Pine.GSO.4.44.0209121425350.19696-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

On Thu, 12 Sep 2002, Paul Johnston wrote:

> > 2) CYGWIN="check_case:strict"
> > As I suspected earlier, this fails -- the links are created, but an
> > attempt to cat the files results in "no such file or directory", and an
> > attempt to save the file after editing results in a write error.  On my
> > Windows 98, cygwin interprets the filenames for c:\windows\hosts, etc, as
> > all caps.  I don't know how important this is to pursue.
>
> Ah, I bet NT based ones would do also - if you were using the FAT file
> system.
>
> I think this problem needs to be dealt with... and I'm starting to think
> that modifying cygpath would be the cleanest way to achieve this.

How exactly are you proposing to modify cygpath?  cygpath translates
windows paths to unix-style, and back.  There is nothing in the cygpath
spec that says that the path should already exist...  "cygpath -W" already
returns the correct case for the path to windows, I'm actually more
concerned about the filenames and the "/system32/drivers/etc" bit.  I
suppose the directory case could be determined by using a "(cd && pwd)"
pair...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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