Ticket #3729: 3729-0002-extfs-uace-print-the-correct-file-size.patch

File 3729-0002-extfs-uace-print-the-correct-file-size.patch, 914 bytes (added by mooffie, 8 years ago)
  • src/vfs/extfs/helpers/uace.in

    From e8f5f7160f18a311a4210467b9487fee36d65255 Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Mon, 12 Dec 2016 04:19:29 +0200
    Subject: [PATCH 02/13] extfs: uace: print the correct file size.
    
    As a comment in that file notes: 3'rd column is the compressed size, 4'th
    column is the actual size.
    ---
     src/vfs/extfs/helpers/uace.in | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/vfs/extfs/helpers/uace.in b/src/vfs/extfs/helpers/uace.in
    index 90e3f4b..525e571 100644
    a b mc_ace_fs_list() 
    3535  else 
    3636    date[3]=date[3] + 2000 
    3737 
    38   printf "-rw-r--r--   1 %-8d %-8d %8d %02d-%02d-%04d %s %s\n", uid, 0, $3, date[2], date[1], date[3], $2, $6 
     38  printf "-rw-r--r--   1 %-8d %-8d %8d %02d-%02d-%04d %s %s\n", uid, 0, $4, date[2], date[1], date[3], $2, $6 
    3939}' 2>/dev/null 
    4040    exit 0 
    4141}