mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-10-31 11:07:44 +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 (entry->fileType == 0x0F) dirflag = TRUE;
|
||||||
/*if (mult && entry->fileType == 0x0f) continue;*/
|
/*if (mult && entry->fileType == 0x0f) continue;*/
|
||||||
afile = TRUE;
|
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 = 0 means do mod date, = 1 means do create date */
|
||||||
/*time = (sortRoutine == CompareCreate) ? 1 : 0;*/
|
/*time = (sortRoutine == CompareCreate) ? 1 : 0;*/
|
||||||
if (fl_longOutput) long_out(d->entry_ptrs[i]);
|
if (fl_longOutput) long_out(d->entry_ptrs[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user