hush/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
chroot.c
cut.c
date.c
dd.c
df.c Remove misguided klude around for 2.4.x-test* brokenness. Al Viro 2000-07-05 19:29:59 +00:00
dirname.c
du.c
echo.c * Fix to tr so it recognizes standard escape sequences. Merged common 2000-07-05 17:26:35 +00:00
head.c
hostid.c
id.c
length.c
ln.c From Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:44:03 +00:00
logname.c
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
mkfifo.c
mknod.c
printf.c
pwd.c
rm.c
rmdir.c
sleep.c
sort.c Yanked out the cstring_alloc() and cstring_lineFromFile() functions from 2000-06-28 22:15:26 +00:00
sync.c
tail.c
tee.c
test.c
touch.c
tr.c Patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>: 2000-07-10 16:38:50 +00:00
tty.c
uname.c
uniq.c
usleep.c
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
whoami.c
yes.c