summaryrefslogtreecommitdiff
path: root/which.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+2
| | | | | | | 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
* Fixed return status (thanks to David Douthitt for the fix).Matt Kraai2000-11-181-2/+6
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Path count was out by one, fixed itGlenn L McGrath2000-09-181-1/+1
|
* Simplify and remove dependence on PATH_MAXGlenn L McGrath2000-09-181-31/+12
| | | | | | buf[PATH_MAX] now defined using strlen to the exact size to be used. removed output that was displayed if which didnt find the command, this makes itmatch the behaviour of GNU's which. These modifications result in a slight size decrease.
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-1/+1
| | | | segfaulting or handling errors the same way themselves.
* Some #include updates.Eric Andersen2000-08-101-1/+0
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-7/+0
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-141-7/+8
| | | | for their extraction to a separate file.
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* "which" rewritten to use stat(). Fixes to improve its compatabilityPavel Roskin2000-06-051-18/+45
| | | | with traditional implementations
* More libc portability updates, add in the website (which has not beenErik Andersen2000-05-191-0/+73
archived previously). Wrote 'which' during the meeting today. -Erik