diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 0f975a8dc..ab24e37fb 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +2001-03-01 Pavel Roskin + + * extfs/uzip.in (mczipfs_list): Allow filenames with colons. + Reported by Christian Gennerat. + 2001-02-28 Pavel Machek * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling. diff --git a/vfs/extfs/uzip.in b/vfs/extfs/uzip.in index d2b3357a7..408460579 100644 --- a/vfs/extfs/uzip.in +++ b/vfs/extfs/uzip.in @@ -22,8 +22,8 @@ if $XZIPINFO 2>&1 | grep ZipInfo >/dev/null; then # Zipinfo prints errors on stdout. Check mode and time to skip them. /^[^a-z\-]/ { next } ($9 ~ /:/) { -split($0,a,":") -nam = substr(a[2],4) +nam=$0 +sub(/^[^:]+:[^ ]+[ ]+/, "", nam) if ($1 ~ /^l/ ) { arrow=" -> " linkname=""