aboutsummaryrefslogtreecommitdiff
path: root/yes.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-10 16:44:03 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-10 16:44:03 +0000
commitd399c8e522c59bb1e4a327f3ea0ee64df6e33ae0 (patch)
tree4694959864edc8f08b950f9cc2547dfe87422819 /yes.c
parentdc896876bd598fdedca38c43895f255319bc5199 (diff)
downloadbusybox-w32-d399c8e522c59bb1e4a327f3ea0ee64df6e33ae0.tar.gz
busybox-w32-d399c8e522c59bb1e4a327f3ea0ee64df6e33ae0.tar.bz2
busybox-w32-d399c8e522c59bb1e4a327f3ea0ee64df6e33ae0.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@798 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'yes.c')
0 files changed, 0 insertions, 0 deletions