Denys Vlasenko a4894eaf71 cut: tweak --help il y a 1 semaine
..
Config.src 45734a2351 loop: optionally use ioctl(LOOP_CONFIGURE) to set up loopdevs il y a 2 ans
Kbuild.src 2075553a1b libbb: add bit counting function, use where appropriate il y a 6 mois
README ba2dcccd79 *: trailing empty lines removed il y a 14 ans
alloc_affinity.c 5a68a246e7 nproc: prepare for arbitrarily large CPU masks il y a 6 mois
appletlib.c dbd14c4a42 libbb: send usage messages to correct stream il y a 2 mois
ask_confirmation.c bae8fc4436 xargs: use bb_ask_y_confirmation_FILE() instead of homegrown copy il y a 6 ans
auto_string.c e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs il y a 9 ans
bb_askpass.c cad3fc743a libbb: introduce and use fputs_stdout il y a 3 ans
bb_bswap_64.c 9ff50b8697 *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bits il y a 14 ans
bb_cat.c d9eb40c185 fix errors found with make_single_applets.sh il y a 7 ans
bb_do_delay.c 030fe31760 libbb: make msleep() result in only one syscall instead of looping il y a 4 ans
bb_getgroups.c 96b0607302 ash: cache more of uid/gid syscalls il y a 2 mois
bb_getsockname.c ba3b9dbf06 libbb: introduce and use bb_getsockname() il y a 6 ans
bb_pwd.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
bb_qsort.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
bb_strtod.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
bb_strtonum.c 93ef5dd640 printf: fix printf "%u\n" +18446744073709551614 il y a 6 ans
bbunit.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
capability.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly il y a 4 ans
change_identity.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
chomp.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
common_bufsiz.c 72089cf6b4 config: deindent all help texts il y a 7 ans
compare_string_array.c bcf91d2760 libbb: code shrink and speed up index_in_strings() il y a 3 ans
concat_path_file.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
concat_subpath_file.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
const_hack.c 5156b24553 Make const ptr assign as function call in clang il y a 3 ans
copy_file.c 56bbbfae7d cp: implement -n il y a 3 ans
copyfd.c fd3c512f88 libbb: create and use mmap() helpers il y a 4 ans
correct_password.c 77cb6b99a4 libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation il y a 6 ans
crc32.c ddacb03e87 libbb: commonalize a bit of little-endian CRC32 table generation code il y a 6 ans
default_error_retval.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
device_open.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
die_if_bad_username.c 0723131628 Fixes for Hurd build il y a 4 ans
dump.c 87e60dcf0f hexdump: fix regression with -n4 -e '"%u"' il y a 1 semaine
duration.c 7362d29794 ash: fix sleep built-in not running INT trap immediately on ^C il y a 1 an
endofname.c 1961aea305 move endofname() to libbb il y a 11 ans
executable.c 49d9e06fba libbb: modify find_executable() to not temporarily write to PATH il y a 2 mois
fclose_nonstdin.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
fflush_stdout_and_exit.c dfd8aafcf5 libbb: fflush_stdout_and_exit(0) still exits with _error_ (not 0!) if fflush fails il y a 3 ans
fgets_str.c 6ad38d66d0 libbb: code shrink fgets_str il y a 3 ans
find_mount_point.c f3a064f495 libbbb: find_mount_point() too eager to stat mounted devices il y a 5 ans
find_pid_by_name.c 3a0eea0887 pidof: support "pidof /path/to/binary" case il y a 5 ans
find_root_device.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
full_write.c 875ce094cf dd: fix handling of short result of full_write(), closes 11711 il y a 5 ans
get_console.c ca466f385a *: slap on a few ALIGN* where appropriate il y a 2 ans
get_cpu_count.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
get_last_path_component.c b24ef035bd find: cater for libc w/o FNM_CASEFOLD il y a 13 ans
get_line_from_file.c 22a9951620 libbb: in xmalloc_fgets(), use size_t for bb_get_chunk_from_file() il y a 6 ans
get_shell_name.c fd77ea505e mark get_shell_name FAST_FUNC il y a 12 ans
get_volsize.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
getopt32.c a4894eaf71 cut: tweak --help il y a 1 semaine
getopt_allopts.c 727948e585 getopt32: factor out code to treat all args as options il y a 7 ans
getpty.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
hash_md5_sha.c bf57f732a5 libbb: fix sha1 on !x86 if CONFIG_SHA1_HWACCEL=y il y a 2 mois
hash_md5prime.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work il y a 8 ans
hash_sha1_hwaccel_x86-32.S 8f0845cad7 libbb: rename source files, no code changes il y a 1 an
hash_sha1_hwaccel_x86-64.S 8f0845cad7 libbb: rename source files, no code changes il y a 1 an
hash_sha1_x86-64.S 8f0845cad7 libbb: rename source files, no code changes il y a 1 an
hash_sha1_x86-64.S.sh 8f0845cad7 libbb: rename source files, no code changes il y a 1 an
hash_sha256_hwaccel_x86-32.S 8f0845cad7 libbb: rename source files, no code changes il y a 1 an
hash_sha256_hwaccel_x86-64.S 8f0845cad7 libbb: rename source files, no code changes il y a 1 an
herror_msg.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
human_readable.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
in_ether.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
inet_cksum.c 4a0eb0370c gcc-9.x warning fixes il y a 4 ans
inet_common.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
inode_hash.c e563f9e851 du: don't count duplicate arguments. Closes 5288 il y a 5 ans
isdirectory.c 416899fca6 do not include <sys/stat.h> just before "libbb.h", it's there already il y a 7 ans
isqrt.c 8a134ec680 libbb: move isqrt from factor, use it in diff too il y a 7 ans
iterate_on_dir.c 1746218bee move iterate_on_dir() from e2fsprogs to libbb il y a 3 ans
kernel_version.c 2496616b0a avoid using strok - eliminates use of hidden global variable il y a 4 ans
last_char_is.c 79a4032eef libbb: shrink last_char_is(), no longer allow NULL string argument il y a 4 ans
lineedit.c 39c5c08b28 lineedit: use stdout for shell history builtin il y a 2 mois
lineedit_ptr_hack.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
llist.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
logenv.c d3fabf89d7 zcip: Add environment variable for overriding log functionality il y a 10 ans
login.c cad3fc743a libbb: introduce and use fputs_stdout il y a 3 ans
loop.c e7977df2ca libbb/loop: fix compile failure (name collision) il y a 1 an
make_directory.c 1267770a9d fix compile failure in previous commit il y a 6 ans
makedev.c 975c714183 nicer looking ifdef in libbb/makedev.c il y a 14 ans
match_fstype.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
messages.c cca7c611f2 which: fix TODO with NOFORK+malloc_failure misbehaving il y a 7 ans
missing_syscalls.c d3539be8f2 Remove stime() function calls il y a 5 ans
mode_string.c 6279aec03d libbb: clarify what bb_mode_string() generates il y a 3 ans
mtab.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
nuke_str.c 4c201c00a3 whitespace fixes il y a 6 ans
obscure.c 3ed81cf052 unit-tests: implement the unit-testing framework il y a 10 ans
parse_config.c 22542eca18 getopt32: remove opt_complementary il y a 7 ans
parse_mode.c 4958c18134 libbb: code shrink bb_parse_mode il y a 3 ans
percent_decode.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
perror_msg.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
perror_nomsg.c 4bd70463c7 libbb: pass "" rather than NULL as format string in _nomsg functions il y a 1 an
perror_nomsg_and_die.c 4bd70463c7 libbb: pass "" rather than NULL as format string in _nomsg functions il y a 1 an
pidfile.c 5059653882 do not duplicate CONFIG_PID_FILE_PATH and ".pid" strings il y a 5 ans
platform.c 33745b1fc8 ash: placate -Werror=format-security il y a 3 ans
popcnt.c 2075553a1b libbb: add bit counting function, use where appropriate il y a 6 mois
print_flags.c 2ab9403119 whitespace and comment format fixes, no code changes il y a 7 ans
print_numbered_lines.c cad3fc743a libbb: introduce and use fputs_stdout il y a 3 ans
printable.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
printable_string.c 349d72c19c unzip: use printable_string() for printing filenames il y a 6 ans
process_escape_sequence.c 9a2b6dcc2d libbb: do not misinterpret 0x10-0x19 chars in "\xNNN" too il y a 6 ans
procps.c 89a55972fd libbb/procps: smaller global data for username/groupname cache il y a 4 ans
progress.c 26602b85a3 wget: print the final newline only for non-tty output il y a 6 ans
ptr_to_globals.c b1c7a66ca6 libbb: extend "errno pointer" trick to other than __GLIBC__ il y a 4 ans
pw_encrypt.c 09aba8bac4 Fix missing "crypt.h" compilation error on the FreeBSD il y a 4 ans
pw_encrypt_des.c 00b5051cd2 libbb: code shrink in des encryption, in setup_salt() il y a 3 ans
pw_encrypt_md5.c 9b2a9f0210 fix assorted unused code and wrong format specs found by cppchekc (bug 6716) il y a 11 ans
pw_encrypt_sha.c 49ecee098d tls: add 2nd cipher_id, TLS_RSA_WITH_AES_128_CBC_SHA, so far it doesn't work il y a 8 ans
read.c dd46861282 libbb: Converted safe_read to safe_write format il y a 5 ans
read_key.c 1e825acf8d libbb: shrink lineedit_read_key() il y a 2 ans
read_printf.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
recursive_action.c 689d0650ab libbb: shrink recursive_action() by reducing memory pressure il y a 4 ans
remove_file.c 4a68697521 libbb: do not check closedir() in remove_file() il y a 3 ans
replace.c 7011eca83a replace: count_strstr - Handle an edge case where sub is empty il y a 5 ans
rtc.c 251e08ffa6 move ADJTIME_PATH define to header files il y a 4 ans
run_shell.c f4f6e5144b libbb: exec_login_shell() - new function il y a 4 ans
safe_gethostname.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
safe_poll.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
safe_strncpy.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
safe_write.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
securetty.c 44c0ab4102 libbb: fix "error: redefinition of 'is_tty_secure'" il y a 7 ans
selinux_common.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
setup_environment.c c2788f88f4 libbb: introduce and use chdir_or_warn() il y a 2 ans
signals.c 5dadd497ff runsv: robustify signal handling - SIGTERM to child between vfork and exec could mess things up il y a 3 ans
simplify_path.c fb132e4737 whitespace cleanup il y a 14 ans
single_argv.c 791b222dd5 sleep: fix "sleep -- ARGS" il y a 1 an
skip_whitespace.c cc222747ae libbb: Use return value from is_prefixed_with() il y a 6 ans
speed_table.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly il y a 4 ans
str_tolower.c 0ef64bdb40 *: make GNU licensing statement forms more regular il y a 14 ans
strrstr.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
sysconf.c ca9c4653a9 libbb: add sanity check in bb_arg_max() il y a 10 ans
time.c f27a6a94a7 libbb: code shrink parse_datestr (again) il y a 3 ans
trim.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
u_signal_names.c 656ca7bdd9 libbb/u_signal_names.c: don't check errno after bb_strtou il y a 6 ans
ubi.c 798b94518e ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE il y a 7 ans
udp_io.c 518fb3ba19 udp_io, traceroute: Standardise IPv6 PKTINFO handling to be portable il y a 7 ans
unicode.c 2fba2f5bb9 unicode: relax array alignment for tables il y a 4 ans
update_passwd.c 808d93c0ec update_passwd: fix context variable il y a 3 ans
utmp.c 86a7f18f21 *: Switch to POSIX utmpx API il y a 9 ans
uuencode.c ae04ce82cf base32/64: "truncated base64 input" -> "truncated input" il y a 4 ans
verror_msg.c 4bd70463c7 libbb: pass "" rather than NULL as format string in _nomsg functions il y a 1 an
vfork_daemon_rexec.c 58ca629fd2 start-stop-daemon: do not lose error messages with -b il y a 1 an
warn_ignoring_args.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
wfopen.c 899ae5337a libbb: new function bb_die_memory_exhausted il y a 6 ans
wfopen_input.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
write.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
xatonum.c 965b795b87 decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly il y a 4 ans
xatonum_template.c 6830ade6aa whitespace fixes. no code changes il y a 12 ans
xconnect.c c00bcf2d2c libbb: reuse "bad port" error message string il y a 3 ans
xfunc_die.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
xfuncs.c 648f506949 libbb: code shrink: introduce and use [_]exit_FAILURE() il y a 1 an
xfuncs_printf.c c2788f88f4 libbb: introduce and use chdir_or_warn() il y a 2 ans
xgetcwd.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
xgethostbyname.c 6937487be7 libbb: reduce the overhead of single parameter bb_error_msg() calls il y a 5 ans
xreadlink.c 94eb1c4dc6 libbb: better coreutils compatibility for realpath il y a 3 ans
xrealloc_vector.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans
xregcomp.c ebe6d9d875 whitespace and comment format fixes, no code changes il y a 7 ans

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