hush/libbb
Denys Vlasenko ba65872950 libbb/bb_strtonum: always set end ptr, even on error return
function                                             old     new   delta
handle_errors                                         69      61      -8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-12-22 13:00:32 +01:00
..
appletlib.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
ask_confirmation.c
bb_askpass.c getty,login: tighten up handling of ctty, pgrp, and tty attr restoring on timeout 2011-10-22 06:27:41 +02:00
bb_bswap_64.c
bb_do_delay.c
bb_pwd.c libbb: make user/group name cache strings longer (~27 chars) 2011-03-01 16:27:13 +01:00
bb_qsort.c
bb_strtod.c
bb_strtonum.c libbb/bb_strtonum: always set end ptr, even on error return 2011-12-22 13:00:32 +01:00
change_identity.c
chomp.c
compare_string_array.c
concat_path_file.c
concat_subpath_file.c
Config.src Config: fix wording in help-text 2011-09-13 14:59:06 +02:00
copy_file.c libbb/copy_file.c: use smallints instead of signed chars 2011-01-28 19:14:17 +01:00
copyfd.c
correct_password.c
crc32.c whitespace fixes 2011-02-03 00:05:48 +01:00
create_icmp6_socket.c
create_icmp_socket.c
default_error_retval.c
device_open.c
die_if_bad_username.c die_if_bad_username: tighten up a bit 2011-08-09 04:05:13 +02:00
dump.c hexdump: fix hexdump -n1 -ve '8/2 ""' SEGV. Closes 4478 2011-11-18 02:47:35 +01:00
execable.c libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exe 2011-02-02 03:28:56 +01:00
fclose_nonstdin.c
fflush_stdout_and_exit.c
fgets_str.c
find_mount_point.c df,find_mount_point: optionally don't ignore rootfs 2011-01-31 06:27:35 +01:00
find_pid_by_name.c
find_root_device.c plug a DIR* leak on error path 2010-12-28 10:25:03 +01:00
full_write.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
get_console.c
get_cpu_count.c
get_last_path_component.c find: cater for libc w/o FNM_CASEFOLD 2011-05-23 00:40:54 +02:00
get_line_from_file.c libbb: split bb_get_chunk_from_file and bb_get_chunk_with_continuation 2011-06-17 03:37:43 +02:00
get_shell_name.c forgot to add libbb/get_shell_name.c 2011-03-08 21:02:42 +01:00
get_volsize.c
getopt32.c randomconfig fixes 2011-08-10 00:51:29 +02:00
getpty.c Fixes for warnings in FreeBSD build 2011-08-28 05:31:49 +02:00
hash_md5_sha.c regularize options which control size/speed trade 2011-09-10 13:25:57 +02:00
hash_md5prime.c regularize options which control size/speed trade 2011-09-10 13:25:57 +02:00
herror_msg.c
human_readable.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
inet_cksum.c inet_cksum: big-endian fix 2011-09-08 10:59:26 +02:00
inet_common.c a few tweaks for bionic 2011-07-08 08:34:28 +02:00
info_msg.c
inode_hash.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
isdirectory.c libbb: remove is_directory's argument which is always NULL 2011-12-18 03:27:46 +01:00
Kbuild.src networking: consolidate the IP checksum code. -129 bytes. 2011-09-07 17:55:40 +02:00
kernel_version.c
last_char_is.c
lineedit_ptr_hack.c
lineedit.c lineedit: fix build failure 2011-11-04 01:09:09 +01:00
llist.c main: free suid_config list after use 2011-05-16 12:21:31 +02:00
login.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
loop.c losetup: implement -r option. Closes 4033. 2011-09-12 08:30:16 +02:00
make_directory.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
makedev.c nicer looking ifdef in libbb/makedev.c 2011-01-24 23:53:12 +01:00
match_fstype.c Fix compile breakage 2011-09-07 22:19:46 +02:00
messages.c save 10 bytes on strings 2011-02-10 10:01:49 +01:00
mode_string.c
mtab.c
obscure.c a few tweaks for bionic 2011-07-08 08:34:28 +02:00
parse_config.c parse_config: use getline. BIG speedup with glibc (~40%). 2011-06-20 09:49:56 +02:00
parse_mode.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
percent_decode.c wget: URL-decode user:password before base64-encoding it into auth hdr. Closes 3625. 2011-09-11 21:04:02 +02:00
perror_msg.c
perror_nomsg_and_die.c
perror_nomsg.c
pidfile.c
platform.c platform.c: provide getline implementation 2011-06-29 02:19:58 +02:00
print_flags.c
printable_string.c
printable.c
process_escape_sequence.c
procps.c top: fix CPU% for thread display. Closes 4081 2011-08-28 11:57:36 +02:00
progress.c libbb: make warning go away 2011-03-12 02:19:50 +01:00
ptr_to_globals.c
pw_encrypt_des.c
pw_encrypt_md5.c
pw_encrypt_sha.c libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash rework 2010-12-01 13:57:25 +01:00
pw_encrypt.c adduser: safe username passing to passwd/addgroup 2011-05-13 03:19:01 +02:00
read_key.c lineedit: add support for M-b, M-f, M-d, M-Backspace 2011-11-03 13:28:22 +01:00
read_printf.c rename archive.h to bb_archive.h. no code changes 2011-09-22 12:45:14 +02:00
read.c
README
recursive_action.c
remove_file.c
rtc.c
run_shell.c
safe_gethostname.c
safe_poll.c
safe_strncpy.c
safe_write.c
selinux_common.c
setup_environment.c libbb/login/su: do not sanitize shell name twice 2011-03-06 18:49:40 +01:00
signals.c
simplify_path.c whitespace cleanup 2010-10-29 11:46:52 +02:00
single_argv.c basename,dirname,freeramdisk,rx,raidautorun,runsv,chvt: skip "--" argument 2011-04-11 03:58:30 +02:00
skip_whitespace.c
speed_table.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
str_tolower.c
strrstr.c
systemd_support.c typo fix 2011-02-12 01:56:25 +01:00
time.c libbb: better comment in parse_date 2011-01-17 14:23:42 +01:00
trim.c
u_signal_names.c kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAX 2011-01-03 13:08:58 +01:00
udp_io.c Fixes for warnings in FreeBSD build 2011-08-28 05:31:49 +02:00
unicode.c lineedit: fixes for CONFIG_UNICODE_USING_LOCALE=y 2011-03-27 01:18:07 +01:00
update_passwd.c type fix in comment 2010-11-03 02:48:43 +01:00
utmp.c move utmp.h include to libbb.h 2011-01-25 23:21:46 +01:00
uuencode.c libbb: shrink base64 decoding a bit 2011-10-28 16:15:00 +02:00
vdprintf.c libbb.h: remove unused defines 2011-10-24 04:06:18 +02:00
verror_msg.c
vfork_daemon_rexec.c bb_daemonize_or_rexec(): add flag to double-fork; use it in start-stop-daemon 2011-11-09 19:44:37 +01:00
warn_ignoring_args.c
wfopen_input.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
wfopen.c
write.c
xatonum_template.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
xatonum.c
xconnect.c libbb: make set_nport accept pointer to sockaddr, not to len_and_sockaddr. 2011-04-07 17:52:20 +02:00
xfunc_die.c
xfuncs_printf.c
xfuncs.c libbb: make ndelay_no/off a bit more clever. +14 bytes 2011-01-24 00:29:55 +01:00
xgetcwd.c *: whitespace fixes 2010-10-28 18:57:19 +02:00
xgethostbyname.c
xreadlink.c
xrealloc_vector.c
xregcomp.c

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>