Ticket #92: u7z-master-4vote.patch

File u7z-master-4vote.patch, 814 bytes (added by slavazanko, 16 years ago)

Patch for vote

  • lib/mc.ext.in

    diff --git a/lib/mc.ext.in b/lib/mc.ext.in
    index af63f0e..ba975ed 100644
    a b regex/\.iso$ 
    207207        View=%view{ascii} isoinfo -l -i %f 
    208208 
    209209# 7zip archives (they are not man pages) 
    210 shell/.7z 
     210regex/\.(7z|7Z)$ 
    211211        Open=%cd %p#u7z 
    212212        View=%view{ascii} 7za l %f 2>/dev/null 
    213213 
  • vfs/extfs/u7z

    diff --git a/vfs/extfs/u7z b/vfs/extfs/u7z
    index da2272e..0803574 100644
    a b mcu7zip_rmdir () 
    4747} 
    4848 
    4949# override any locale for dates 
    50 LC_ALL=C 
    51 export LC_ALL 
     50LC_DATE=C 
     51export LC_DATE 
    5252 
    5353umask 077 
    5454 
    cmd="$1" 
    5656shift 
    5757 
    5858case "$cmd" in 
    59   list)    mcu7zip_list    "$@" ;; 
     59  list)    mcu7zip_list    "$@" | sort -k 8 ;; 
    6060  copyout) mcu7zip_copyout "$@" ;; 
    6161  copyin)  mcu7zip_copyin  "$@" ;; 
    6262  mkdir)   mcu7zip_mkdir   "$@" ;;