This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Patch: traling backslash
- To: Chris Faylor <cgf at cygnus dot com>
- Subject: Re: Patch: traling backslash
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Fri, 10 Dec 1999 22:10:41 +0100
- CC: cygdev <cygwin-developers at sourceware dot cygnus dot com>
- References: <385156DC.3A4516EA@vinschen.de> <19991210150323.A1870@cygnus.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