Denys Vlasenko ca9c4653a9 libbb: add sanity check in bb_arg_max() %!s(int64=10) %!d(string=hai) anos
..
Config.src 30a8652fbf sha3: make size/speed optimization decision configurable %!s(int64=12) %!d(string=hai) anos
Kbuild.src 11775edbfc randomconfig fixes %!s(int64=10) %!d(string=hai) anos
README ba2dcccd79 *: trailing empty lines removed %!s(int64=14) %!d(string=hai) anos
appletlib.c 628f134fe7 exit with 127 if appled name wasn't found - it's more POSIXy %!s(int64=10) %!d(string=hai) anos
ask_confirmation.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
bb_askpass.c d32fc647d7 libbb: fix bb_ask() to flush input before prompt, not after. Closes 7190 %!s(int64=10) %!d(string=hai) anos
bb_bswap_64.c 9ff50b8697 *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits %!s(int64=14) %!d(string=hai) anos
bb_do_delay.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
bb_pwd.c cffe28ef87 libbb: add sketch of tentative 'better' passwd/group API %!s(int64=11) %!d(string=hai) anos
bb_qsort.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
bb_strtod.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
bb_strtonum.c ba65872950 libbb/bb_strtonum: always set end ptr, even on error return %!s(int64=13) %!d(string=hai) anos
bbunit.c 2835a224cd bbunit: fix WANT_TIMING compilation %!s(int64=10) %!d(string=hai) anos
change_identity.c defc1ea340 *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on %!s(int64=16) %!d(string=hai) anos
chomp.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
compare_string_array.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
concat_path_file.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
concat_subpath_file.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
copy_file.c 17f8418ea7 Add conditional support for -v / --verbose %!s(int64=10) %!d(string=hai) anos
copyfd.c 8d75d794ea libbb: use sendfile() to copy data between file descriptors %!s(int64=10) %!d(string=hai) anos
correct_password.c feac9b607d ftpd: add optional support for authentication %!s(int64=10) %!d(string=hai) anos
crc32.c b7c9fb27cb whitespace fixes %!s(int64=14) %!d(string=hai) anos
default_error_retval.c 7aa63042d0 libbb: xfunc_error_retval can be a byte %!s(int64=14) %!d(string=hai) anos
device_open.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
die_if_bad_username.c 7485086f1e die_if_bad_username: tighten up a bit %!s(int64=13) %!d(string=hai) anos
dump.c ef6747e290 hexdump: don't unconditionally limit the usable address range %!s(int64=11) %!d(string=hai) anos
endofname.c 1961aea305 move endofname() to libbb %!s(int64=11) %!d(string=hai) anos
executable.c e765b5ac34 libbb: rename execable -> executable. No code changes %!s(int64=10) %!d(string=hai) anos
fclose_nonstdin.c 259b3c047a sed: open input files sequentially to avoid EMFILE %!s(int64=11) %!d(string=hai) anos
fflush_stdout_and_exit.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
fgets_str.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
find_mount_point.c ce4f39ac7c find_mount_point: fix find_mount_point for char devices %!s(int64=13) %!d(string=hai) anos
find_pid_by_name.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
find_root_device.c 2272129a93 plug a DIR* leak on error path %!s(int64=14) %!d(string=hai) anos
full_write.c e4dcba1c10 *: whitespace fixes %!s(int64=14) %!d(string=hai) anos
get_console.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
get_cpu_count.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
get_last_path_component.c b24ef035bd find: cater for libc w/o FNM_CASEFOLD %!s(int64=13) %!d(string=hai) anos
get_line_from_file.c a1a448347e libbb: split bb_get_chunk_from_file and bb_get_chunk_with_continuation %!s(int64=13) %!d(string=hai) anos
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC %!s(int64=12) %!d(string=hai) anos
get_volsize.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
getopt32.c b47b3ce1bd randomconfig fixes %!s(int64=13) %!d(string=hai) anos
getpty.c 438b4ac286 script: make it work even if fd 0 is closed %!s(int64=10) %!d(string=hai) anos
hash_md5_sha.c 09a0e2223f sha3: tweak comments and indentation %!s(int64=10) %!d(string=hai) anos
hash_md5prime.c 522041ee7b regularize options which control size/speed trade %!s(int64=13) %!d(string=hai) anos
herror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
human_readable.c a407cf74cc Make smart_ulltoa return pointer to end (allows for code shink in callers) %!s(int64=11) %!d(string=hai) anos
in_ether.c 198b02f7dd fix failures found by randomconfig builds %!s(int64=11) %!d(string=hai) anos
inet_cksum.c 0d0260fd1e inet_cksum: big-endian fix %!s(int64=13) %!d(string=hai) anos
inet_common.c 1a7256ac38 chpst: fix a bug where -U USER was using wrong USER (one from -u USER) %!s(int64=11) %!d(string=hai) anos
info_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
inode_hash.c 83bc4332e7 du, copy_file: fix file matching on cramfs. Closes 5456 %!s(int64=10) %!d(string=hai) anos
isdirectory.c f282c6b657 libbb: remove is_directory's argument which is always NULL %!s(int64=13) %!d(string=hai) anos
kernel_version.c 556ac3633c get_linux_version_code: don't fail on Linux version strints like "3.0-foo" %!s(int64=12) %!d(string=hai) anos
last_char_is.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
lineedit.c 20cd31a2d7 lineedit: don't block when looking for escape sequence in vi-mode %!s(int64=10) %!d(string=hai) anos
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
llist.c 9be4702a30 main: free suid_config list after use %!s(int64=13) %!d(string=hai) anos
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality %!s(int64=10) %!d(string=hai) anos
login.c 8f2cb7ab26 libbb: introduce and use strftime_[YYYYMMDD]HHMMSS() %!s(int64=11) %!d(string=hai) anos
loop.c fa6ab56353 libbb: if opening /dev/loopN returns ENXIO, don't try N++. %!s(int64=11) %!d(string=hai) anos
make_directory.c 17f8418ea7 Add conditional support for -v / --verbose %!s(int64=10) %!d(string=hai) anos
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c %!s(int64=14) %!d(string=hai) anos
match_fstype.c 9289935cfd Fix compile breakage %!s(int64=13) %!d(string=hai) anos
messages.c dee0fc9da1 save 10 bytes on strings %!s(int64=13) %!d(string=hai) anos
missing_syscalls.c c9677ed83c libbb: add missing_syscalls.c: for now, only Android syscalls %!s(int64=12) %!d(string=hai) anos
mode_string.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
mtab.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
nuke_str.c 198b02f7dd fix failures found by randomconfig builds %!s(int64=11) %!d(string=hai) anos
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework %!s(int64=10) %!d(string=hai) anos
parse_config.c 499597d6ef mdev: do not treat non-leading '#' chars as start of comment. Closes 4676 %!s(int64=13) %!d(string=hai) anos
parse_mode.c e4dcba1c10 *: whitespace fixes %!s(int64=14) %!d(string=hai) anos
percent_decode.c dd1061b6a7 wget: URL-decode user:password before base64-encoding it into auth hdr. Closes 3625. %!s(int64=13) %!d(string=hai) anos
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
perror_nomsg.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
perror_nomsg_and_die.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
pidfile.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
platform.c ad16741ccd libbb: provide usleep() fallback implementation %!s(int64=10) %!d(string=hai) anos
print_flags.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
printable.c 79c618c411 Refactor catv. Move visible() from stty to libbb. %!s(int64=11) %!d(string=hai) anos
printable_string.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
process_escape_sequence.c a2d27a1919 libbb/process_escape_sequence.c: fix recently broken handling of \\ %!s(int64=14) %!d(string=hai) anos
procps.c 60cb48ca50 whitespace cleanup. no code changes %!s(int64=12) %!d(string=hai) anos
progress.c 8345b2bd5e libbb: make warning go away %!s(int64=13) %!d(string=hai) anos
ptr_to_globals.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
pw_encrypt.c 8ed9672660 libbb: don't die if crypt() returns NULL %!s(int64=10) %!d(string=hai) anos
pw_encrypt_des.c 44d1989997 des encrypt: fix goof with NUL byte added at the end as '.' %!s(int64=15) %!d(string=hai) anos
pw_encrypt_md5.c 9b2a9f0210 fix assorted unused code and wrong format specs found by cppchekc (bug 6716) %!s(int64=11) %!d(string=hai) anos
pw_encrypt_sha.c 5dcc6606cb libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash rework %!s(int64=14) %!d(string=hai) anos
read.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
read_key.c 0ccae4d8b3 Add comments in keyboard escape sequences table %!s(int64=12) %!d(string=hai) anos
read_printf.c 59655077c5 preparatory cleanups for seamless uncompression improvements %!s(int64=12) %!d(string=hai) anos
recursive_action.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
remove_file.c 17f8418ea7 Add conditional support for -v / --verbose %!s(int64=10) %!d(string=hai) anos
replace.c 6f068904dc xargs: add support for -I and -i. Closes 493 %!s(int64=10) %!d(string=hai) anos
rtc.c d8290c2ef0 libbb: fix thinko in rtc_xopen() %!s(int64=10) %!d(string=hai) anos
run_shell.c a73b87e934 *: s/"/bin/sh"/DEFAULT_SHELL, run_shell() API fix, remove unneeded strdup %!s(int64=14) %!d(string=hai) anos
safe_gethostname.c 576b1d3c41 sendmail: use host rather than NIS domain name for HELO %!s(int64=12) %!d(string=hai) anos
safe_poll.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
safe_strncpy.c 0016bcee37 klogd: do not log partial lines %!s(int64=14) %!d(string=hai) anos
safe_write.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
selinux_common.c 60cb48ca50 whitespace cleanup. no code changes %!s(int64=12) %!d(string=hai) anos
setup_environment.c 70fc8c17e2 su: do not change to home dir unless -l %!s(int64=12) %!d(string=hai) anos
signals.c c4f2d997a4 libbb: correctness/size tweaks in signal-related helpers %!s(int64=12) %!d(string=hai) anos
simplify_path.c fb132e4737 whitespace cleanup %!s(int64=14) %!d(string=hai) anos
single_argv.c c13ee8c0f3 basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument %!s(int64=13) %!d(string=hai) anos
skip_whitespace.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
speed_table.c 96f92a1afa libbb: FreeBSD fix for B<num> baud rate constants not fitting into a short. %!s(int64=11) %!d(string=hai) anos
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
strrstr.c 3ed81cf052 unit-tests: implement the unit-testing framework %!s(int64=10) %!d(string=hai) anos
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() %!s(int64=10) %!d(string=hai) anos
systemd_support.c 0b8a7723c7 typo fix %!s(int64=13) %!d(string=hai) anos
time.c 3b394781b5 libbb: fix parsing of "10101010" date/time form %!s(int64=11) %!d(string=hai) anos
trim.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
u_signal_names.c 327d2885ec kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAX %!s(int64=14) %!d(string=hai) anos
udp_io.c 24915117a2 Fixes for warnings in FreeBSD build %!s(int64=13) %!d(string=hai) anos
unicode.c 7a18043a96 lineedit: improve Unicode handling (still buggy though) %!s(int64=11) %!d(string=hai) anos
update_passwd.c 854738d39d type fix in comment %!s(int64=14) %!d(string=hai) anos
utmp.c 8d0e0cdadf move utmp.h include to libbb.h %!s(int64=14) %!d(string=hai) anos
uuencode.c e6094d95b5 libbb: shrink base64 decoding a bit %!s(int64=13) %!d(string=hai) anos
vdprintf.c ec447c7f01 libbb.h: remove unused defines %!s(int64=13) %!d(string=hai) anos
verror_msg.c fe33683c8b Fix compile failures %!s(int64=10) %!d(string=hai) anos
vfork_daemon_rexec.c 743edac6c8 bb_daemonize_or_rexec(): add flag to double-fork; use it in start-stop-daemon %!s(int64=13) %!d(string=hai) anos
warn_ignoring_args.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
wfopen.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
wfopen_input.c e4dcba1c10 *: whitespace fixes %!s(int64=14) %!d(string=hai) anos
write.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
xatonum.c c72b43c2f0 Commonalize typical [b,]k,m suffix struct %!s(int64=11) %!d(string=hai) anos
xatonum_template.c 6830ade6aa whitespace fixes. no code changes %!s(int64=12) %!d(string=hai) anos
xconnect.c 9106107a50 Make unix (local) sockets work without IPv6 enabled %!s(int64=12) %!d(string=hai) anos
xfunc_die.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
xfuncs.c d6e7672545 less: move "retry-on-EAGAIN" logic closer to read ops %!s(int64=10) %!d(string=hai) anos
xfuncs_printf.c 5906a5c26c libbb: Add xsetegid(), xseteuid(), xopen_as_uid_gid() functions %!s(int64=11) %!d(string=hai) anos
xgetcwd.c e4dcba1c10 *: whitespace fixes %!s(int64=14) %!d(string=hai) anos
xgethostbyname.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
xreadlink.c c50493854a libbb: fix a bad check for uclibc >= 0.9.31 %!s(int64=10) %!d(string=hai) anos
xrealloc_vector.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos
xregcomp.c 0ef64bdb40 *: make GNU licensing statement forms more regular %!s(int64=14) %!d(string=hai) anos

README

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