diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 1d39fb83b..8311925c7 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +2000-12-15 Andrew V. Samoilov + + * extfs/urar.in (list): better solution to prevent duplication + 2000-12-14 Andrew V. Samoilov * extfs/urar.in (LC_ALL): set to C to prevent localization, diff --git a/vfs/extfs/urar.in b/vfs/extfs/urar.in index c7fee1603..d415aab76 100644 --- a/vfs/extfs/urar.in +++ b/vfs/extfs/urar.in @@ -3,12 +3,9 @@ # Written by andrey joukov # (C) 1996 2:5020/337.13@fidonet.org # Updated by christian.gennerat@alcatel.fr 1999 +# Andrew V. Samoilov 2000 # beta version 2.0 # - -LC_ALL=C -export LC_ALL - DRAR=/usr/bin RAR=$DRAR/rar UNRAR=$DRAR/unrar # Prefer unrar (freeware) @@ -40,7 +37,7 @@ else { $6="-rw-r--r--" printf "%s 1 %-8d %-8d %8d %3s %2d %4d %s %s\n", $6, uid, 0, $1, substr(date, (a[2]-1)*3+1, 3), a[1], a[3], $5, str } -}' | sort -r +0 2>/dev/null +}' 2>/dev/null } mcrarfs_copyin () @@ -95,7 +92,7 @@ umask 077 # uncomment this line for debugging #echo "`date +%T` ${0##*/} $1 $2 to=$3 tmp=$4" >>/tmp/${0##*/}.log case "$1" in - list) mcrarfs_list "$2"; exit 0;; + list) mcrarfs_list "$2" | sort +9 ; exit 0;; rm) mcrarfs_rm "$2" "$3" ; exit 0;; rmdir) mcrarfs_rm "$2" "$3" ; exit 0;; mkdir) mcrarfs_mkdir "$2" "$3" ; exit 0;;