delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/09:47:00

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
Message-ID: <3D80E193.C2242234@pajhome.org.uk>
Date: Thu, 12 Sep 2002 19:48:51 +0100
From: Paul Johnston <paj AT pajhome DOT org DOT uk>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Release candidate 1: /etc/hosts
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0209121425350 DOT 19696-100000 AT slinky DOT cs DOT nyu DOT edu>

Igor,

> How exactly are you proposing to modify cygpath?  cygpath translates
> windows paths to unix-style, and back.  There is nothing in the cygpath

Sorry, should have been clearer about this: modifying cygpath to add a feature to
get the correct case for a path. Perhaps we could figure a way to use "dir /b" -
but I'm sure other people will hit this same issue in the future and would
appreciate such a feature in cygpath. If you agree this is a good idea, I'm
prepared to do the groundwork.

Failing that, I think it would be ok to assume that the path will either be all
caps or all non-caps - corresponding to FAT or NTFS. Anyone tweaking the case of
such paths/files on NTFS quite deserves their fate!

BTW, I'm subbed to cygwin so you don't need to keep copying me on mails.

Paul


--
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