diff options
author | Mark Whitley <markw@lineo.com> | 2001-03-27 20:59:14 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-03-27 20:59:14 +0000 |
commit | 9a2144663a97acb9c071c6d6e496d99a24d80685 (patch) | |
tree | d5db25a1ba52810dd9c0edd440f4497257e53973 | |
parent | cc7b4f39fca193ba6b2fa60be4a4b6fd05238d08 (diff) |
Applied patch from David Douthitt to fix problem where ls reports half the
file size. Should close bug #1140.
-rw-r--r-- | coreutils/ls.c | 4 | ||||
-rw-r--r-- | ls.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 77de93a0c..201509210 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -652,9 +652,9 @@ static int list_single(struct dnode *dn) (ls_disp_hr==TRUE)? 0: 1)); #else #if _FILE_OFFSET_BITS == 64 - printf("%9lld ", dn->dstat.st_size>>1); + printf("%9lld ", dn->dstat.st_size); #else - printf("%9ld ", dn->dstat.st_size>>1); + printf("%9ld ", dn->dstat.st_size); #endif #endif } @@ -652,9 +652,9 @@ static int list_single(struct dnode *dn) (ls_disp_hr==TRUE)? 0: 1)); #else #if _FILE_OFFSET_BITS == 64 - printf("%9lld ", dn->dstat.st_size>>1); + printf("%9lld ", dn->dstat.st_size); #else - printf("%9ld ", dn->dstat.st_size>>1); + printf("%9ld ", dn->dstat.st_size); #endif #endif } |