summaryrefslogtreecommitdiff
path: root/coreutils/basename.c
Commit message (Collapse)AuthorAgeFilesLines
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-12/+23
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-2/+2
| | | | -Erik
* SUSv2 specifies that if the extension is identical to the basename, itMatt Kraai2001-08-291-1/+1
| | | | should not be removed.
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-161-1/+1
| | | | by Larry Doolittle.
* Added some more '/* getopt not needed */' lines.Mark Whitley2001-03-091-0/+2
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | 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-1/+1
| | | | | | 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-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-1/+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
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-8/+0
|
* Remove unused variable.Eric Andersen2000-07-101-1/+1
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-101-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Howdy, Bug #1006 reports that ln -s /tmp/foo . does not work correctly. In fact, it appears that any instantiation of ln -s FILE... DIRECTORY does not work. The following patch adds support for this form, which then fixes the particular instance noted in the bug report. In the process, I needed the basename function. This appears in the string.h provided by glibc, but not uC-libc. So I wrote my own to go in utility.c, called get_last_path_component. I also modified the basename utility to use this function. At some point it might be desirous to use the basename from the library if it exists, and otherwise compile our own. But I don't know how to do this. Matt
* 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
* More libc portability updates, add in the website (which has not beenErik Andersen2000-05-191-6/+10
| | | | | archived previously). Wrote 'which' during the meeting today. -Erik
* Add suffix stripping support to basenameErik Andersen2000-05-101-5/+17
| | | | -Erik
* More Doc updates. cmdedit and more termio fixes.Erik Andersen2000-04-211-1/+5
|
* More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen2000-04-131-1/+3
| | | | | while trying to write docs . :-) -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-2/+5
| | | | -Erik
* Forgot to add basename. More fixes to du fromErik Andersen2000-02-211-0/+40
Friedrich Vedder <fwv@myrtle.lahn.de>. -Erik