This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygpath 1.7 wrong


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]