summaryrefslogtreecommitdiffstats
path: root/usr.bin/du/du.c
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-7/+7
|
* GRR. This was not WARNS=2 clean. You cannot printf a 'long' withpeter2002-02-081-1/+1
| | | | | | | | '%qd'. usr.bin/du/du.c:288: warning: long long int format, long int arg (arg 2) Pointy hat to: markm
* WARNS=2 fixupmarkm2001-12-021-1/+2
|
* Use the correct blocksize when invoked with both -h and -krobert2001-09-041-1/+2
| | | | | | | options. PR: 30275 Reviewed by: jake
* Add '-I mask' cmdline flag to ignore/skip files and subdirectoriesroam2001-06-131-2/+66
| | | | | | | | matching a specified shell-glob mask. Reviewed by: no serious objections on -arch and -audit over the last few months MFC after: 1 month
* Use warnx(), -Wall cleaning and remove unused #includecharnier2000-03-261-7/+10
| | | | Better use of .Nm and .Ar
* fix bug with du -hdmharo2000-03-241-1/+1
| | | | Submitted by: dcs
* Add human-readable output flag, -hmharo2000-01-251-15/+116
| | | | Reviewed by: obrien
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-2/+2
|
* Add missing '\n'; remove redundant 'h' case in getopt switch.rnordier1998-11-051-2/+1
|
* Add -c option to usage string.rnordier1998-11-051-1/+1
| | | | | PR: 8568 Submitted by: Ryan Younce <ryany@pobox.com>
* Print correct total for -c option (previously, the total for the lastdes1998-09-111-1/+1
| | | | | | | directory scanned was printed instead of the real total) PR: bin/7896 Submitted by: Zach Heilig <zach@gaffaneys.com>
* Don't try to dereference a pointer to freed memory.des1998-07-291-7/+4
| | | | PR: bin/7393
* * add a -c option which displays the grand total of all filesjkh1997-12-291-94/+118
| | | | | | | | | | | | | | | | | | | counted. * re-word parts of the man page which I felt were badly worded or ambiguous. * change the behaviour of argument processing so that when more than one of the -P, -H and -L options are specified it will print an error message, rather than choosing the last option specified, this behaviour is more logical and consistent with other utilities. * change the behaviour of argument processing so that negative arguments to the -d option are not allowed. PR: 5388 Submitted by: Niall Smart <rotel@indigo.ie>
* du(1) always exit with value zero.wosch1997-08-291-1/+1
| | | | | | | $ du /foobar du: /foobar: No such file or directory $ echo $? 0
* Document -k flag.charnier1997-06-301-4/+3
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-111-1/+2
|
* Add a 'depth (-d#)' flag to duscrappy1996-10-231-9/+24
| | | | | | patched (context diff), compiled (w/ -Wall) and tested Submitted by: John-Mark Gurney <jmg@nike.efn.org>
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* The last commit was bogus...the putenv doesn't affect the parent process,dg1994-08-121-10/+3
| | | | so the BLOCKSIZE doesn't need to be preserved.
* Implemented the -k flag more properly...don't destroy the user's settingdg1994-08-121-3/+10
| | | | of the BLOCKSIZE environment variable.
* Gimme my `-k' option back!wollman1994-08-101-2/+5
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+229
OpenPOWER on IntegriCloud