Subject: CVS commit: src/usr.bin/stat
To: None <source-changes@NetBSD.org>
From: Andrew Brown <firstname.lastname@example.org>
Date: 06/23/2005 03:13:25
Module Name: src
Committed By: atatat
Date: Thu Jun 23 03:13:24 UTC 2005
src/usr.bin/stat: stat.1 stat.c
Bend the 'L', 'M', and 'H' modifiers to work on the size, whereby it
is rounded to the nearest kilobyte, megabyte, or gigabyte.
Implemented at lukem's request since some things can't deal with
overly large numbers when files are really large.
Have to do something like humanize_number(3), but that interface isn't
really what I'm looking for. I think. More examination required.
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/usr.bin/stat/stat.1
cvs rdiff -r1.22 -r1.23 src/usr.bin/stat/stat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.