summaryrefslogtreecommitdiffstats
path: root/df/output.c
Commit message (Collapse)AuthorAgeFilesLines
* virt-df: Use guestfs_max_disks instead of hard-coding limit of 25.Richard W.M. Jones2012-06-131-20/+81
| | | | And comprehensively fix it so it works with > 26 disks.
* Remove "convenience header" "gettext.h" and use <libintl.h> instead.Richard W.M. Jones2012-05-011-0/+1
| | | | | | | | | | | | gettextize provides a local file called "gettext.h". Remove this and use <libintl.h> from glibc headers instead. Most of this change is mechanical: #include <libintl.h> in every C file which uses any gettext function. But also we remove the gettext.h file, and adjust the "_" macros. Note that this effectively removes the ./configure --disable-nls option, although we don't know if that ever worked.
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* Don't rely on implicit promotion of float to double in printf args.Richard W.M. Jones2011-11-221-1/+1
|
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* Include string.h and libintl.h, as needed.Jim Meyering2011-04-131-1/+2
| | | | | | | | | * df/df.c: As above. * df/main.c: As above. * df/output.c: As above. * fuse/guestmount.c: As above. * inspector/virt-inspector.c: As above. * rescue/virt-rescue.c: As above.
* Remove several unused local variables.Richard W.M. Jones2010-12-101-1/+0
| | | | (Revealed by compiling under Debian where this is a warning).
* df: Rewrite virt-df in C.Richard W.M. Jones2010-11-251-0/+242
I have diffed the output from the original virt-df with this new version, and they agree very closely. Some differences: - Old virt-df have a divide-by-zero error in cases where the number of used inodes was 0. New virt-df fixes this. - New virt-df uses gnulib human_readable library which displays numbers to 3 significant figures for -h output (old version used an ad hoc function).