aboutsummaryrefslogtreecommitdiff
path: root/ln.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Extract usage information into a separate file.kraai2000-07-161-13/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-enable ln -n in the help.andersen2000-07-111-2/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>: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 git-svn-id: svn://busybox.net/trunk/busybox@814 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove yet more kernel header dependancies.andersen2000-07-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>: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 git-svn-id: svn://busybox.net/trunk/busybox@798 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pavel Roskin <proski@gnu.org> just found a nasty memoryandersen2000-06-221-1/+8
| | | | | | | | corruption bug. Disabling 'ln -n' till it is fixed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Document 'ln --'andersen2000-06-211-1/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-1/+1
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check for 3 and more arguments was incorrectproski2000-06-181-1/+1
| | | | | | | | It is only allowed for linking to a directory But linking to a directory still fails and may be removed git-svn-id: svn://busybox.net/trunk/busybox@656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ln: fixed command line parser. Added support for "--"proski2000-06-151-8/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@651 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bunch of stuff: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 git-svn-id: svn://busybox.net/trunk/busybox@613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-3/+6
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-281-7/+6
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-2/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few updates (including the cp fix the Craig has been looking for)erik2000-03-041-0/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@386 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updateserik2000-02-111-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@368 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-74/+76
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-23/+56
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to usage, and made tar work.andersen1999-11-101-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed ln, df, and removed redundant stuff from mtab.andersen1999-11-061-19/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@81 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up copyright notices and suchandersen1999-10-201-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@49 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff.andersen1999-10-181-4/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@34 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuffandersen1999-10-131-33/+81
| | | | git-svn-id: svn://busybox.net/trunk/busybox@25 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial revisionandersen1999-10-051-0/+52
git-svn-id: svn://busybox.net/trunk/busybox@5 69ca8d6d-28ef-0310-b511-8ec308f3f277