|
Re: df reports size incorrectly when used with "-B": msg#00047gnu.core-utils.bugs
Thanks for the bug report. Here's a draft patch, relative to coreutils 4.5.9. 2003-03-10 Paul Eggert <eggert@xxxxxxxxxxx> * src/df.c (print_header): Don't say "3444M 1M-blocks", as it's confusing. Just say "Size 3444M". Fixes bug reported in http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00040.html by Nilmoni Deb. =================================================================== RCS file: src/df.c,v retrieving revision 4.5.9.0 retrieving revision 4.5.9.1 diff -pu -r4.5.9.0 -r4.5.9.1 --- src/df.c 2003/03/04 21:07:53 4.5.9.0 +++ src/df.c 2003/03/10 08:25:12 4.5.9.1 @@ -166,6 +166,8 @@ print_header (void) else if (posix_format) printf (_(" %4s-blocks Used Available Capacity"), umaxtostr (output_block_size, buf)); + else if (human_output_opts & human_SI) + printf (_(" Size Used Available Use%%")); else { int opts = (human_suppress_point_zero |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [patch]: fix ia64 SIGSEGV in coreutils 4.5.9: 00047, Jim Meyering |
|---|---|
| Next by Date: | Re: language of coreutils: 00047, Bob Proulx |
| Previous by Thread: | df reports size incorrectly when used with "-B"i: 00047, Nilmoni Deb |
| Next by Thread: | language of coreutils: 00047, Miyoko Shioda |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |