delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/12/10/17:11:57

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <38516C51.7520CBE4@vinschen.de>
Date: Fri, 10 Dec 1999 22:10:41 +0100
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Chris Faylor <cgf AT cygnus DOT com>
CC: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: Patch: traling backslash
References: <385156DC DOT 3A4516EA AT vinschen DOT de> <19991210150323 DOT A1870 AT cygnus DOT com>

Chris Faylor wrote:
> [...]
> >       ls -ld . ..
> >       drwx------  2 who ever 0 today   .
> >       drwx------  2 who ever 0 today   ..
> >
> >The wrong output of .. is a result of the following operation:
> >
> >       current working dir is Z:\foo
> >       .. is converted to Z: according to the mount table
> >       Z: is interpreted by Windows as Z:\foo
> 
> Cygwin is supposed to interpret z: as z:\ in every situation.
> If it isn't, that's the bug.
> 
> cgf

Uhm, excuse me, I don't understand what you mean. Do you agree or
do you think my explanation (and patch) is wrong?!?

A special reason for my patch is that cygwin calls win32 api
functions using the result of the path_conv conversion. This
is unfortunately in case of mounted root directories only
"X:" instead of "X:\".

Corinna

- Raw text -


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