aboutsummaryrefslogtreecommitdiff
path: root/du.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-6/+6
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-2/+2
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-1/+3
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsRichard June2001-01-221-3/+23
| | | | | Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084
* Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai2001-01-181-2/+2
| | | | Vladimir N. Oleynik.
* du.c error msg cleanup from Kent RobottiEric Andersen2000-12-121-2/+2
|
* Patch from kent robotti to fix a buglet whereEric Andersen2000-12-111-3/+2
| | | | | | | # du doesn't_exist du: doesn't_exist: No such file or directory 0 doesn't_exist which was on course wrong. I simplified it a bit...
* Fix problem where 'du file_that_exists' doesn't work.Eric Andersen2000-12-091-2/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-3/+3
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Must compile before committing.Matt Kraai2000-12-061-2/+2
|
* Fix exit status on failure.Matt Kraai2000-12-061-4/+7
|
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-2/+2
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-2/+2
| | | | -Erik
* The result of getopt() is "int" and should be treated as suchPavel Roskin2000-07-171-2/+2
|
* Extract usage information into a separate file.Matt Kraai2000-07-161-12/+1
|
* Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-141-21/+11
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-3/+3
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-2/+2
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* * cp -fa now works as expected for symlinks (it didn't before)Erik Andersen2000-05-101-4/+7
| | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-4/+3
| | | | | compatability. -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-2/+2
| | | | -Erik
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-60/+11
| | | | -Erik
* Forgot to add basename. More fixes to du fromErik Andersen2000-02-211-8/+39
| | | | | Friedrich Vedder <fwv@myrtle.lahn.de>. -Erik
* Fixed du. Now behaves just like GNU du (only less so).Erik Andersen2000-02-191-4/+58
| | | | -Erik
* - I suspect the problem has something to do w/ symlinks.John Beppu2000-02-131-2/+2
| | | | | | | - It's not completely in agreement w/ GNU/du, but + the answer is much closer than before. - Some of the right-shifts seem to have mysteriously disappeared. I put them back in.
* UpdatesErik Andersen2000-02-111-2/+6
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-91/+94
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-14/+20
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* * added (and documented) "-n" option for head -Erik Andersen2000-01-231-2/+2
| | | | | | | contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik
* Reworked the source so it will compile and run under glibc 2.0.7Erik Andersen1999-12-171-4/+1
| | | | | | and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik
* killed an elusive bug in du -s.John Beppu1999-12-161-2/+2
|
* Implemented du -sJohn Beppu1999-12-151-6/+31
|
* Removed a redundant call du(); Save cpu cycles.John Beppu1999-12-101-2/+2
|
* Fixed bug when dealing with files specifiedJohn Beppu1999-12-101-3/+9
| | | | on the command line that didn't exist.
* Fix beppu's email address.Eric Andersen1999-12-101-2/+2
| | | | | BTW, John, go to sleep. It is late. :) -Erik
* Fleshed out du_main().John Beppu1999-12-101-6/+38
| | | | I'm not sure which options to support.
* This is my preliminaryJohn Beppu1999-12-091-0/+83
du implementation. It was written from scratch (doesn't use recursiveAction). I still need to flesh out du_main().