summaryrefslogtreecommitdiff
path: root/usr.bin/du/du.c
AgeCommit message (Expand)Author
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2016-08-24Convert quad_t to int64_t and %q to %llPhilip Guenther
2015-10-10pledge to only use "stdio rpath"; ok dougTheo de Raadt
2015-06-25Put fts_close() where missing.Masao Uebayashi
2014-10-20fix a regression that i caused in rev. 1.26: *do* report the size ofIngo Schwarze
2014-10-19rearrange -d, again, after giving ingo some dodgy advice;Jason McIntyre
2014-10-19in usage() and SYNOPSIS, sort options as suggested by jmc@Ingo Schwarze
2014-10-17Add the -d flag (limit display depth) for compatibility with FreeBSD,Ingo Schwarze
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2013-11-13a few things can be static to avoid need for protosTheo de Raadt
2011-04-27cast one blocksize occurrence to unsigned long, fixes du(1)'s outputIgor Sobrado
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-08-27Use FTS_ROOTLEVEL instead of 0 when checking fts_level.Todd C. Miller
2009-06-03If both -h and -k are specified, the latter takes precedence.Todd C. Miller
2006-01-25lint says Pflag isn't needed. i concurTed Unangst
2005-04-17sort options + sync usage();Jason McIntyre
2004-06-21Actually commit right (r&b tree) version, instead of hash tableOtto Moerbeek
2004-06-14- use fmt_scaled(3) instead of home grown function to print -h numbersOtto Moerbeek
2004-06-02Don't want text in err() call following malloc failures.Tom Cosgrove
2003-07-02protosTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-07-30fix 0B case; morten@hotpost.dkTheo de Raadt
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-05-02-h overrides BLOCKSIZE; matt@anzen.comPaul Janzen
2001-02-23Add -h option ("human-readable") as df. Based on suggestions and code fromPaul Janzen
2000-04-16correct return value; from FreeBSDEric Jackson
1998-02-16-r for xpg conformanceTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-10-18Implement a -c (Grand Total) option, a'la GNU du(1).Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt