mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-21 07:30:05 +00:00
Fixed "ls -s" kilobyte calculation. See PR#48 for details.
This commit is contained in:
parent
a43a7e27fd
commit
4bd91df5de
@ -414,7 +414,7 @@ DirEntryRecGS *entry;
|
||||
if (entry->fileType == 0x0F) dirflag = TRUE;
|
||||
/*if (mult && entry->fileType == 0x0f) continue;*/
|
||||
afile = TRUE;
|
||||
if (inK) printf("%4ld ",((entry->eof+entry->resourceEOF)/1024)+1);
|
||||
if (inK) printf("%4ld ",(entry->eof+entry->resourceEOF+1023)/1024);
|
||||
/* time = 0 means do mod date, = 1 means do create date */
|
||||
/*time = (sortRoutine == CompareCreate) ? 1 : 0;*/
|
||||
if (fl_longOutput) long_out(d->entry_ptrs[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user