From 5d711a96d318550f77dd9a294a162ddb8541b175 Mon Sep 17 00:00:00 2001 From: markw Date: Tue, 27 Mar 2001 20:59:14 +0000 Subject: Applied patch from David Douthitt to fix problem where ls reports half the file size. Should close bug #1140. git-svn-id: svn://busybox.net/trunk/busybox@2204 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- coreutils/ls.c | 4 ++-- 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 } diff --git a/ls.c b/ls.c index 77de93a0c..201509210 100644 --- a/ls.c +++ b/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 } -- cgit v1.2.3-55-g6feb