cygpath 1.7 wrong

Reini Urban
Fri Jun 13 13:04:00 GMT 2008

Corinna Vinschen schrieb:
> On Jun  9 16:24, Corinna Vinschen wrote:
>> On Jun  3 22:18, Reini Urban wrote:
>>> $ 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
>> Ouch.  I'll look into it in the next couple of days.
> I've uploaded 1.7.0-17 which contains a fix for that.  Please give it
> a try.

Thanks, cygpath seems to fixed.
However, my perl tests still don't run through.

1) cygwin_internal(CW_GET_CYGDRIVE_INFO, user, system, user_flags, 
is a little bit different from 1.5

1.5 returns in user resp. system "/cygdrive",
but 1.7 returns "/cygdrive/"
This is annoying.

1.5$ perl -e'print Cygwin::mount_flags("/cygdrive")'
1.7$ perl -e'print Cygwin::mount_flags("/cygdrive")'

2) multibyte chars in pathnames are not printed with /bin/ls.
Not in cmd.exe + bash and not in rxvt+bash.
cmd.exe alone prints it fine.

   # mkdir 'Äëä'
   perl -e'$s=sprintf "\x{c4}\x{eb}\x{e4}"; mkdir $s;'

bash or coreutils?

The mnt->mnt_type change from system to now ntfs is fine with me.

1.7$ perl -e'$,="\t"; print @$_,"\n" for Cygwin::mount_table'
/usr/bin        C:\cygwin-1.7\bin       ntfs    binmode,system
/usr/lib        C:\cygwin-1.7\lib       ntfs    binmode,system
/       C:\cygwin-1.7   ntfs    binmode,system
/cygdrive/c     c:      ntfs    binmode,noumount,user

1.5$ perl -e'$,="\t"; print @$_,"\n" for Cygwin::mount_table'
/usr/bin        f:\cygwin\bin   system  binmode
/usr/lib        f:\cygwin\lib   system  binmode
/       f:\cygwin       system  binmode
/cygdrive/c     c:      system  binmode,noumount

Reini Urban

More information about the Cygwin-apps mailing list