cygpath 1.7 wrong

Reini Urban rurban@x-ray.at
Tue Jun 3 20:15:00 GMT 2008


conv_posix_to_win relative is wrong in the 1.7 series.
Not only cygpath, also the cygwin1.dll call
cygwin_conv_path(CCP_POSIX_TO_WIN_W | CCP_RELATIVE,..)

I don't want to upload a new perl for release-2 with this failure.

$ uname -a
CYGWIN_NT-5.1 cygwin17 1.7.0(0.185/5/2) 2008-05-25 20:10 i686 Cygwin

$ mkdir -p t/lib

$ cygpath -aw t/lib
C:\cygwin-1.7\usr\src\perl\perl-5.10.0\builddebug\t\lib

$ cygpath -w t/lib
\ib

$ mount -m
mount -f -b "C:/cygwin-1.7/bin" "/usr/bin"
mount -f -b "C:/cygwin-1.7/lib" "/usr/lib"
mount -f -b "C:/cygwin-1.7" "/"
mount -s -b --change-cygdrive-prefix "/cygdrive/"

$ tail /etc/fstab
C:/cygwin-1.7 / some_fs binary 0 0
C:/cygwin-1.7/bin /usr/bin some_fs binary 0 0
C:/cygwin-1.7/lib /usr/lib some_fs binary 0 0
# This is default anyway:
# none /cygdrive cygdrive binary,user 0 0

-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/



More information about the Cygwin-apps mailing list