hush/libbb
Eric Andersen e0cbe48637 Chris Larson (kergoth) writes:
I was adding -s/--symbolic-link support to busybox cp when I noticed a
bug with -r/-a.  Test case:

mkdir -p test/out
cd test
busybox cp -a * out/

Will never return until we run out of open files or similar.
Coreutils cp on the other hand will error with "cannot copy a directory,
`out', into itself, `out'".  Patch attached.
2004-02-19 00:44:08 +00:00
..
.cvsignore update .cvsignore files to note new location of loop.h 2001-03-17 00:15:02 +00:00
ask_confirmation.c Major coreutils update. 2003-03-19 09:13:01 +00:00
bb_asprintf.c Major coreutils update. 2003-03-19 09:13:01 +00:00
change_identity.c more crond+crontab integrating with loginutil libbb functions and deleted 2003-09-03 12:18:42 +00:00
chomp.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
compare_string_array.c Major coreutils update. 2003-03-19 09:13:01 +00:00
concat_path_file.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
concat_subpath_file.c Vodz, last_patch_86 2003-05-26 14:07:50 +00:00
copy_file.c Chris Larson (kergoth) writes: 2004-02-19 00:44:08 +00:00
copyfd.c When a size of 0 is passed to copyfd_size, dont do anything, it was 2003-11-24 23:50:07 +00:00
correct_password.c Major coreutils update. 2003-03-19 09:13:01 +00:00
create_icmp_socket.c Major coreutils update. 2003-03-19 09:13:01 +00:00
create_icmp6_socket.c Major coreutils update. 2003-03-19 09:13:01 +00:00
default_error_retval.c Major coreutils update. 2003-03-19 09:13:01 +00:00
device_open.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
dump.c s/u_int/unsigned int/g 2004-01-30 22:52:27 +00:00
error_msg_and_die.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
error_msg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
fclose_nonstdin.c Major coreutils update. 2003-03-19 09:13:01 +00:00
fflush_stdout_and_exit.c Major coreutils update. 2003-03-19 09:13:01 +00:00
fgets_str.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
find_mount_point.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
find_pid_by_name.c Joe.C writes: 2003-08-06 08:22:10 +00:00
find_root_device.c Fix a bug where mount could check the wrong device. st_rdev is the correct 2004-01-13 11:39:22 +00:00
full_read.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
full_write.c We did not have a safe_write, which is the analog to safe_read. Convert 2003-10-09 08:35:42 +00:00
get_console.c Fix compile error and reducing size for libbb/get_console.c to previous size. 2003-09-01 08:53:32 +00:00
get_last_path_component.c Major coreutils update. 2003-03-19 09:13:01 +00:00
get_line_from_file.c Configuration option to define wether to follows GNU sed's behaviour 2003-09-16 05:25:43 +00:00
get_terminal_width_height.c Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize) 2003-09-15 08:33:45 +00:00
get_ug_id.c Patch from Arthur Othieno to fix a compiler warning 2003-10-22 10:26:38 +00:00
getopt_ulflags.c Vladimir N. Oleynik writes: 2004-02-05 13:49:29 +00:00
hash_fd.c Use proper C99 types throughout. So not use silly typedefs. 2004-01-30 22:31:58 +00:00
herror_msg_and_die.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
herror_msg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
human_readable.c "staywithu" writes: 2003-08-22 23:08:37 +00:00
inet_common.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
inode_hash.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
interface.c Fix for compiling with ipv6 2003-08-29 11:34:08 +00:00
isdirectory.c Vodz, last_patch_86 2003-05-26 14:07:50 +00:00
kernel_version.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
last_char_is.c Save 10 bytes or so, last_patch_70 from Vladimir N. Oleynik 2002-12-03 20:34:36 +00:00
llist_add_to.c Move add_to_list from libunarchive to libbb so it can be of more general use (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free). 2002-12-08 00:54:33 +00:00
login.c Geir Thomassen wrote, regarding networking/httpd.c line 1358 2003-06-26 09:05:32 +00:00
loop.c Make the loop support stuff be much less evil, and make it cope 2004-02-06 07:16:36 +00:00
make_directory.c Major coreutils update. 2003-03-19 09:13:01 +00:00
Makefile Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile.in Make the loop support stuff be much less evil, and make it cope 2004-02-06 07:16:36 +00:00
messages.c move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one 2003-09-02 02:36:18 +00:00
mode_string.c Fix a bug reported by junkio@cox.net involving the mode_chars index. 2003-08-14 02:28:49 +00:00
module_syscalls.c Accomodate the fact that newer libc versions may in fact not 2004-02-13 08:09:43 +00:00
mtab_file.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
mtab.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
my_getgrgid.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
my_getgrnam.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
my_getpwnam.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
my_getpwnamegid.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
my_getpwuid.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
obscure.c Patch from vodz to cleanup libbb/obscure.c:password_check() 2003-08-06 08:33:08 +00:00
parse_mode.c Restrict octal perms to <= 07777. Cosmetic error message change. 2003-03-19 18:09:03 +00:00
parse_number.c Major coreutils update. 2003-03-19 09:13:01 +00:00
perror_msg_and_die.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
perror_msg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
perror_nomsg_and_die.c Major coreutils update. 2003-03-19 09:13:01 +00:00
perror_nomsg.c Major coreutils update. 2003-03-19 09:13:01 +00:00
print_file.c As we no longer use function pointers for read in common archiving code 2003-11-21 22:24:57 +00:00
printf.c Support new uClibc stdio core. 2004-01-30 21:44:20 +00:00
process_escape_sequence.c Major coreutils update. 2003-03-19 09:13:01 +00:00
procps.c Teach busybox ps to get the correct uid when displaying stuff 2004-01-27 20:17:39 +00:00
pw_encrypt.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
pwd2spwd.c Cleanup shadow.h stuff so it behaves as intended 2002-07-03 04:47:43 +00:00
qmodule.c rmmod -a removed modules recursively 2002-12-14 01:58:59 +00:00
read_package_field.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
README Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
recursive_action.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
remove_file.c Vodz, last_patch_86 2003-05-26 14:07:50 +00:00
restricted_shell.c Port over the last of the tinylogin applets 2002-06-23 04:24:25 +00:00
run_parts.c The default behaviour for run-parts is corrected to continue if an error 2003-08-30 12:27:36 +00:00
run_shell.c Patch from Russell Coker: 2003-07-03 10:07:04 +00:00
safe_read.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
safe_strncpy.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
safe_write.c Rework wget, the xconnect interface, and its various clients 2003-10-31 09:31:46 +00:00
setup_environment.c Vodz, last_patch_86 2003-05-26 14:07:50 +00:00
simplify_path.c Major coreutils update. 2003-03-19 09:13:01 +00:00
skip_whitespace.c Major coreutils update. 2003-03-19 09:13:01 +00:00
speed_table.c Major coreutils update. 2003-03-19 09:13:01 +00:00
syscalls.c Remove remaining libc5 support code 2003-07-22 08:56:55 +00:00
syslog_msg_with_name.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
trim.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
u_signal_names.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
vdprintf.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
verror_msg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
vfork_daemon_rexec.c Get vfork_daemon_rexec working under uclinux 2003-12-15 21:57:44 +00:00
vherror_msg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
vperror_msg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
warn_ignoring_args.c Major coreutils update. 2003-03-19 09:13:01 +00:00
wfopen_input.c Major coreutils update. 2003-03-19 09:13:01 +00:00
wfopen.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
xconnect.c Modify bb_lookup_port to allow the protocol to be specified, allowing 2004-01-17 05:03:31 +00:00
xfuncs.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
xgetcwd.c Vodz, last_patch_86 2003-05-26 14:07:50 +00:00
xgethostbyname.c Major coreutils update. 2003-03-19 09:13:01 +00:00
xgethostbyname2.c Major coreutils update. 2003-03-19 09:13:01 +00:00
xgetlarg.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
xgetularg.c Major coreutils update. 2003-03-19 09:13:01 +00:00
xreadlink.c Major coreutils update. 2003-03-19 09:13:01 +00:00
xregcomp.c Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00

Please see the LICENSE file for copyright information (GPLv2)
    
libbb is BusyBox's utility library.  All of this stuff used to be stuffed into
a single file named utility.c.  When I split utility.c to create libbb, some of
the very oldest stuff ended up without their original copyright and licensing
information (which is now lost in the mists of time).  If you see something
that you wrote that is mis-attributed, do let me know so we can fix that up.

	Erik Andersen 
	<andersen@codepoet.org>