busybox/coreutils
Eric Andersen 0b4551faf5 From Matt Kraai <kraai@alumni.carnegiemellon.edu>:
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
2000-07-10 16:44:03 +00:00
..
basename.c From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
cat.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
chroot.c This is a fix for chroot 2000-06-02 17:56:45 +00:00
cut.c Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport. 2000-06-26 12:14:30 +00:00
date.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
dd.c * cp -fa now works as expected for symlinks (it didn't before) 2000-05-10 05:05:45 +00:00
df.c Remove misguided klude around for 2.4.x-test* brokenness. Al Viro 2000-07-05 19:29:59 +00:00
dirname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
du.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
echo.c * Fix to tr so it recognizes standard escape sequences. Merged common 2000-07-05 17:26:35 +00:00
head.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
hostid.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
id.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
length.c Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP 2000-05-12 19:41:47 +00:00
ln.c From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
logname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
ls.c Update files to reduce dependance on kernel version... 2000-07-08 18:55:24 +00:00
md5sum.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
mkdir.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mkfifo.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
mknod.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
printf.c printf now compiles cleanly under both libc5 and libc6. 2000-06-19 17:52:17 +00:00
pwd.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
rm.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
rmdir.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
sleep.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
sort.c Yanked out the cstring_alloc() and cstring_lineFromFile() functions from 2000-06-28 22:15:26 +00:00
sync.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
tail.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
tee.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
test.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
touch.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
tr.c Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:38:50 +00:00
tty.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
uname.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
uniq.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
usleep.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
uudecode.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
uuencode.c More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc 2000-07-09 06:59:58 +00:00
wc.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
whoami.c Updates to a number of apps to remove warnings/compile errors under libc5. 2000-06-19 17:25:40 +00:00
yes.c Pavel fixed a segfault in yes. 2000-06-02 17:51:39 +00:00