summaryrefslogtreecommitdiffhomepage
path: root/debianutils/which.c
AgeCommit message (Collapse)Author
2008-06-05which: -a support (needed for bfin uclibc build script)Denis Vlasenko
real support (with CONFIG_DESKTOP=y): 120+ bytes: text data bss dec hex filename 807958 624 7036 815618 c7202 busybox_old 808085 624 7036 815745 c7281 busybox_unstripped "fake" support (with CONFIG_DESKTOP unset): ~45 bytes: text data bss dec hex filename 797790 611 6996 805397 c4a15 busybox_old 797834 611 6996 805441 c4a41 busybox_unstripped
2007-11-25which: fix testsuite failureDenis Vlasenko
pidof: do not output empty line if nothing found testsuite: disable false positive
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-06-12remove nearly-duplicate PATHs in several placesDenis Vlasenko
function old new delta bb_PATH_root_path - 35 +35 varunset 60 58 -2 arith 2042 2033 -9 bb_default_root_login_path 30 - -30 .rodata 128794 128762 -32 which_main 152 117 -35 defpathvar 40 - -40 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 0/4 up/down: 35/-148) Total: -113 bytes
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-28fix which-uses-default-pathDenis Vlasenko
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-11ifupdown: stop emitting annoying/misleading error messages.Denis Vlasenko
Patch by Gabriel Somlo <somlo at cmu.edu>
2006-10-05which: -84 bytesDenis Vlasenko
2006-09-13- fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer
boilerplate. No object code changes.
2006-07-19Remove unnecessary consts.Rob Landley
2006-07-18Rearrange order of type qualifiers."Robert P. J. Day"
2006-06-14- minor shrinkageBernhard Reutner-Fischer
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-09-14committing bug #7:Paul Fox
0000007: which and wd-located files which doesn't search $PATH when there's a file in the WD with the same name of the 'filename' parameter...
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-03Fix a compile error identiefied by Steven Scholz.Glenn L McGrath
Declare variables first for compatability.
2004-03-01Check file has execute permission for the current user, minor formatingGlenn L McGrath
2003-10-29fix a bug where `which' doesn't check whether the file passed as an argumentGlenn L McGrath
is a regular file, patch by Arthur Othieno
2003-10-22sighEric Andersen
2003-10-22Tomasz Motylewski reported that the 'which' applet does not findEric Andersen
files when the full file PATH is specified. This patch from Arthur Othieno fixes it.
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-11Move readlink, mktemp, run-parts and which to a new debianutils dir.Glenn L McGrath