aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2007-04-10- use enum for the OPs as suggested by vda. No obj-code changes.Bernhard Reutner-Fischer
2007-04-10echo: fix regression ("echo" with no arguments didn't print newline.Denis Vlasenko
echo: use fputs if no options are given. Code growth ~15 bytes. Old: # time ./busybox find $bigdir -exec echo {} \; >/dev/null real 0m2.038s user 0m0.761s sys 0m0.953s New: # time ./busybox find $bigdir -exec echo {} \; >/dev/null real 0m1.781s user 0m0.781s sys 0m0.939s For comparison: without NOFORK: # time find $bigdir -exec echo {} \; >/dev/null real 1m51.129s user 0m38.442s sys 1m3.350s
2007-04-10audit small applets and mark some of them as NOFORK.Denis Vlasenko
Put big scary warnings in relevant places.
2007-04-10style fixes. No code changes.Denis Vlasenko
2007-04-10- use skip_non_whitespace() where appropriateBernhard Reutner-Fischer
2007-04-09make xfunctions optionally longjump instead of exit.Denis Vlasenko
use it for making NOFORK more practical. touch: make it a NOFORK applet
2007-04-09Implement first instance of NOFORK applet - echoDenis Vlasenko
find: use NOFORK/NOEXEC; small -exec buglet also eliminated vfork_daemon_rexec: honor PREFER_APPLETS echo: small size improvements find -exec echo {} \; with PREFER_APPLETS=y runs 4 times faster
2007-04-08add some missed statics on constant objects.Denis Vlasenko
fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped
2007-04-08getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko
function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes
2007-04-08find: fix handling of -pruneDenis Vlasenko
recursive_actions: uppercase flag constants
2007-04-07comm: eliminate staticsDenis Vlasenko
2007-04-05diff: fix segfault on empty dirs (Peter Korsgaard <peter.korsgaard@barco.com>)Denis Vlasenko
2007-04-05- fix segfault in reset_ino_dev_hashtable() when *hashtable was null.Bernhard Reutner-Fischer
Seen in the testsuite for du -l .../testsuite on exit with CLEAN_UP enabled.
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-04-04- minor shrinkageBernhard Reutner-Fischer
text data bss dec hex filename 1431 0 4 1435 59b tail.o.orig 1396 0 0 1396 574 tail.o
2007-04-04- remove bss users. Shrinkage while at it. See XXX for further, pre-existing ↵Bernhard Reutner-Fischer
bugs text data bss dec hex filename 1969 0 32 2001 7d1 dd.o.oorig 1941 0 0 1941 795 dd.o
2007-04-04- remove some bss users.Bernhard Reutner-Fischer
text data bss dec hex filename 6220 8 14 6242 1862 stty.o.oorig 6219 8 0 6227 1853 stty.o
2007-04-04- remove superfluous bss user (flags) and manually unswitch some areas:Bernhard Reutner-Fischer
text data bss dec hex filename 4517 0 34 4551 11c7 stat.o.oorig 4300 0 30 4330 10ea stat.o
2007-04-02- use bb_error_msgBernhard Reutner-Fischer
2007-04-02- use xregcomp. Untested. vda, isn't there a regfree missing here?Bernhard Reutner-Fischer
text data bss dec hex filename 2522 0 0 2522 9da expr.o.r18305 2478 0 0 2478 9ae expr.o
2007-04-02- remove some unneeded forward declarations. No obj-code changes.Bernhard Reutner-Fischer
2007-04-02- remove args from bss, minor misc shrinkage while at it.Bernhard Reutner-Fischer
text data bss dec hex filename 2577 0 4 2581 a15 expr.o 2522 0 0 2522 9da expr.o
2007-04-02test: comment out unused codeDenis Vlasenko
udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C
2007-03-31uniq: getopt32-ization. -38 bytes.Denis Vlasenko
2007-03-30- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..Bernhard Reutner-Fischer
2007-03-30- debloat test. untested.Bernhard Reutner-Fischer
text data bss dec hex filename 3154 0 172 3326 cfe test.o.oorig 2683 0 172 2855 b27 test.o This applet should be rewritten not to use such odd lexer semantics. It duplicates code from all over the place (see XXX). brrr
2007-03-30- fix bug where we did not reject invalid classes like '[[:alpha'Bernhard Reutner-Fischer
- debloat while at it: text data bss dec hex filename 1554 0 19 1573 625 tr.o.oorig 1357 0 16 1373 55d tr.o
2007-03-29- fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
2007-03-28- move additional fancy options not mandated by SUSv3 into a FANCY optionBernhard Reutner-Fischer
2007-03-26diff: fix SEGV (NULL deref) in diff -NDenis Vlasenko
2007-03-26split: let me join bikeshed painting frenzy :)Denis Vlasenko
this one should be able to handle huge files. text data bss dec hex filename 664 4 0 668 29c busybox.t0/coreutils/split.o 628 0 0 628 274 busybox.t1/coreutils/split.o split_main 488 525 +37 suffix_len 4 - -4 next_file 77 - -77 (add/remove: 0/2 grow/shrink: 1/0 up/down: 37/-81) Total: -44 bytes
2007-03-26- check the suffix proper plus misc touch upBernhard Reutner-Fischer
2007-03-26- implement suffices as required by SUSv3Bernhard Reutner-Fischer
- fix glitch in next_file (suffices were exhaused too early).
2007-03-26- shrink a tiny bit (-8b)Bernhard Reutner-Fischer
2007-03-25- rough prototype for split(1). TODO: Still needs some love since it's way ↵Bernhard Reutner-Fischer
too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
2007-03-21cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)Denis Vlasenko
2007-03-20fix accumulated whitespace and indentation damageDenis Vlasenko
2007-03-19ls: fix segfault-if-standalone-shell, add big fat comment.Denis Vlasenko
2007-03-14chown, env: stop using staticsDenis Vlasenko
2007-03-14missed hunk of "stop using big static buffer for inode hash"Denis Vlasenko
2007-03-12introduce and use setfscreatecon_or_dieDenis Vlasenko
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
2007-03-11next portion of selinux updates: chcon, runcon. FromDenis Vlasenko
Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp>
2007-03-11fix buglets found by randomconfig runDenis Vlasenko
2007-03-10selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko
2007-03-09printf: allow hex/oct numbers; move functions aroundDenis Vlasenko
so that we have no forward declarations
2007-03-09diff: failed to confirm "static bug" in gcc - reinstating statics.Denis Vlasenko
microscopic code improvements.
2007-03-08chown: fix comment, fix verbose messageDenis Vlasenko
2007-03-08chown: support -H -L -P if ENABLE_DESKTOPDenis Vlasenko
chmod: cosmetic fixes expr: smallish help for dumb compilers
2007-03-07diff: make -U0 workDenis Vlasenko
2007-03-07clean up accumulated whitespace damageDenis Vlasenko