aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ln.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Matt Kraai: "When it encounters a problem creating a link, lnEric Andersen2000-10-041-2/+3
| | | | | shouldn't give up entirely but instead continue processing the rest of its arguments. The attached patch does this."
* Rewrite to use getopt and return instead of exit, a seperate function ↵Glenn L McGrath2000-10-041-83/+69
| | | | (fs_link) does the actual work.
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* 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.
* Extract usage information into a separate file.Matt Kraai2000-07-161-13/+0
|
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-2/+1
|
* Re-enable ln -n in the help.Eric Andersen2000-07-111-2/+0
| | | | -Erik
* Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-111-27/+2
| | | | | | | | | | > > The following patch allows ln -n to function like GNU. It also fixes a > typo with my previous patch to add support for ln FILE DIRECTORY. And > it removes some code that checks the maximum length of the filenames. I > can't figure out why that code is necessary. Anyone know? > > Matt
* Remove yet more kernel header dependancies.Eric Andersen2000-07-101-1/+1
| | | | -Erik
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>:Eric Andersen2000-07-101-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Pavel Roskin <proski@gnu.org> just found a nasty memoryEric Andersen2000-06-221-1/+8
| | | | | corruption bug. Disabling 'ln -n' till it is fixed. -Erik
* Document 'ln --'Eric Andersen2000-06-211-1/+2
| | | | -Erik
* 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
* Check for 3 and more arguments was incorrectPavel Roskin2000-06-181-1/+1
| | | | | It is only allowed for linking to a directory But linking to a directory still fails and may be removed
* ln: fixed command line parser. Added support for "--"Pavel Roskin2000-06-151-8/+12
|
* Fixed a bunch of stuff:Eric Andersen2000-06-061-16/+21
| | | | | | | | | | * Fixed segfault caused by "touch -c" * Fixed segfault caused by "rm -f" * Fixed segfault caused by "ln -s -s" and similar abuses. * Fixed segfault caused by "cp -a -a" and similar abuses. * Implemented "rm -- <foo>" updated docs accordingly. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-3/+6
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-7/+6
| | | | | compatability. -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-2/+1
| | | | -Erik
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-0/+8
| | | | -Erik
* UpdatesErik Andersen2000-02-111-1/+1
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-74/+76
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-23/+56
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* Updates to usage, and made tar work.Eric Andersen1999-11-101-3/+3
| | | | -Erik
* Fixed ln, df, and removed redundant stuff from mtab.Eric Andersen1999-11-061-19/+14
|
* Fixed up copyright notices and suchEric Andersen1999-10-201-1/+3
|
* More stuff.Eric Andersen1999-10-181-4/+2
| | | | -Erik
* More stuffEric Andersen1999-10-131-33/+81
|
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+52