hush/coreutils
Denis Vlasenko e013475830 env: micro-optimization
printenv: fix "printenv VAR1 VAR2" bug (wasn't printing VAR2)
(spotted by kalyanatejaswi balabhadrapatruni <kalyanatejaswi@yahoo.co.in>)

env_main                                             267     260      -7
printenv_main                                        147      75     -72
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-79)             Total: -79 bytes
   text    data     bss     dec     hex filename
 770336    1096   11228  782660   bf144 busybox_old
 770256    1096   11228  782580   bf0f4 busybox_unstripped
2007-08-06 02:55:41 +00:00
..
libcoreutils getopt_mk_fifo_nod: heed warning 2007-06-10 19:29:37 +00:00
basename.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
cal.c cal: small code shrink 2007-07-26 11:12:51 +00:00
cat.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
catv.c catv: was abusing xopen, should not die on err, but warn only. 2007-06-12 08:13:34 +00:00
chgrp.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
chmod.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
chown.c md5_sha1_sum: fix mishandling when run as /bin/md5sum (with path) 2007-07-05 00:12:55 +00:00
chroot.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
cksum.c Audit bb_common_bufsiz usage, add script which looks for misuse. 2007-06-04 10:16:52 +00:00
comm.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
Config.in move several applets to more correct ex-project. No code changes. 2007-06-12 08:12:33 +00:00
cp.c libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options 2007-07-21 13:27:44 +00:00
cut.c libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options 2007-07-21 13:27:44 +00:00
date.c libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options 2007-07-21 13:27:44 +00:00
dd.c dd: use unsigned printf specifier for # of blocks 2007-07-30 10:58:09 +00:00
df.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
dirname.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
dos2unix.c libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options 2007-07-21 13:27:44 +00:00
du.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
echo.c echo: fix yet another buglet in non-fancy echo 2007-06-19 23:04:17 +00:00
env.c env: micro-optimization 2007-08-06 02:55:41 +00:00
expr.c Replace index_in_[sub]str_array with index_in_[sub]strings, 2007-07-24 15:54:42 +00:00
false.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
fold.c random shrinkage of statics, -60 bytes saved 2007-06-21 12:43:45 +00:00
head.c multiplier suffixes are short, store them directly in struct suffix_mult 2007-07-27 15:06:25 +00:00
hostid.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
id.c bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one; 2007-07-27 11:20:10 +00:00
install.c Replace index_in_[sub]str_array with index_in_[sub]strings, 2007-07-24 15:54:42 +00:00
Kbuild move several applets to more correct ex-project. No code changes. 2007-06-12 08:12:33 +00:00
length.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ln.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
logname.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
ls.c Replace index_in_[sub]str_array with index_in_[sub]strings, 2007-07-24 15:54:42 +00:00
md5_sha1_sum.c md5_sha1_sum: fix mishandling when run as /bin/md5sum (with path) 2007-07-05 00:12:55 +00:00
mkdir.c Replace index_in_[sub]str_array with index_in_[sub]strings, 2007-07-24 15:54:42 +00:00
mkfifo.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
mknod.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
mv.c Replace index_in_[sub]str_array with index_in_[sub]strings, 2007-07-24 15:54:42 +00:00
nice.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
nohup.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
od_bloaty.c multiplier suffixes are short, store them directly in struct suffix_mult 2007-07-27 15:06:25 +00:00
od.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
printenv.c env: micro-optimization 2007-08-06 02:55:41 +00:00
printf.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
pwd.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
readlink.c move several applets to more correct ex-project. No code changes. 2007-06-12 08:12:33 +00:00
realpath.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
rm.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
rmdir.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
seq.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
sleep.c multiplier suffixes are short, store them directly in struct suffix_mult 2007-07-27 15:06:25 +00:00
sort.c libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options 2007-07-21 13:27:44 +00:00
split.c multiplier suffixes are short, store them directly in struct suffix_mult 2007-07-27 15:06:25 +00:00
stat.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
stty.c multiplier suffixes are short, store them directly in struct suffix_mult 2007-07-27 15:06:25 +00:00
sum.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
sync.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
tail.c multiplier suffixes are short, store them directly in struct suffix_mult 2007-07-27 15:06:25 +00:00
tee.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
test.c introduce and use bb_basename() 2007-06-30 08:04:05 +00:00
touch.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
tr.c Replace index_in_[sub]str_array with index_in_[sub]strings, 2007-07-24 15:54:42 +00:00
true.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
tty.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
uname.c delete tons of extra #includes 2007-05-31 22:42:12 +00:00
uniq.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
usleep.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
uudecode.c uudecode: nuke duplicate base64_table[]. saves 65 bytes 2007-06-12 07:24:11 +00:00
uuencode.c uuencode: shrink 2007-06-26 15:59:37 +00:00
wc.c style fix (stray space before ';') 2007-07-21 15:08:09 +00:00
who.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00
whoami.c bb_getpwuid, bb_getgrgid: change order of arguments to more intuitive one; 2007-07-27 11:20:10 +00:00
yes.c usage.c: remove reference to busybox.h 2007-05-26 19:00:18 +00:00