aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style fixes. No code changesDenis Vlasenko2007-04-121-3/+3
|
* bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko2007-04-113-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko2007-04-101-2/+1
| | | | no forking anymore, bunzip2 unpack routine now does all it in memory.
* make a few struct bb_applet members conditionalDenis Vlasenko2007-04-102-2/+4
| | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
* - use enum for the OPs as suggested by vda. No obj-code changes.Bernhard Reutner-Fischer2007-04-101-14/+18
|
* echo: fix regression ("echo" with no arguments didn't print newline.Denis Vlasenko2007-04-101-8/+11
| | | | | | | | | | | | | | | | | | | | | | | 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
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-1031-94/+124
| | | | | Put big scary warnings in relevant places.
* style fixes. No code changes.Denis Vlasenko2007-04-101-3/+3
|
* - use skip_non_whitespace() where appropriateBernhard Reutner-Fischer2007-04-101-3/+1
|
* make xfunctions optionally longjump instead of exit.Denis Vlasenko2007-04-092-10/+5
| | | | | use it for making NOFORK more practical. touch: make it a NOFORK applet
* Implement first instance of NOFORK applet - echoDenis Vlasenko2007-04-091-37/+38
| | | | | | | | | 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
* add some missed statics on constant objects.Denis Vlasenko2007-04-086-27/+27
| | | | | | | | | | 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
* getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko2007-04-082-2/+0
| | | | | | | | | | | | | | | | 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
* find: fix handling of -pruneDenis Vlasenko2007-04-082-3/+3
| | | | recursive_actions: uppercase flag constants
* comm: eliminate staticsDenis Vlasenko2007-04-071-44/+30
|
* diff: fix segfault on empty dirs (Peter Korsgaard <peter.korsgaard@barco.com>)Denis Vlasenko2007-04-051-1/+1
|
* - fix segfault in reset_ino_dev_hashtable() when *hashtable was null.Bernhard Reutner-Fischer2007-04-051-4/+2
| | | | Seen in the testsuite for du -l .../testsuite on exit with CLEAN_UP enabled.
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-041-2/+2
|
* - minor shrinkageBernhard Reutner-Fischer2007-04-041-26/+21
| | | | | | text data bss dec hex filename 1431 0 4 1435 59b tail.o.orig 1396 0 0 1396 574 tail.o
* - remove bss users. Shrinkage while at it. See XXX for further, pre-existing ↵Bernhard Reutner-Fischer2007-04-041-74/+130
| | | | | | | | bugs text data bss dec hex filename 1969 0 32 2001 7d1 dd.o.oorig 1941 0 0 1941 795 dd.o
* - remove some bss users.Bernhard Reutner-Fischer2007-04-041-17/+22
| | | | | | text data bss dec hex filename 6220 8 14 6242 1862 stty.o.oorig 6219 8 0 6227 1853 stty.o
* - remove superfluous bss user (flags) and manually unswitch some areas:Bernhard Reutner-Fischer2007-04-041-138/+92
| | | | | | text data bss dec hex filename 4517 0 34 4551 11c7 stat.o.oorig 4300 0 30 4330 10ea stat.o
* - use bb_error_msgBernhard Reutner-Fischer2007-04-021-1/+1
|
* - use xregcomp. Untested. vda, isn't there a regfree missing here?Bernhard Reutner-Fischer2007-04-021-2/+2
| | | | | | text data bss dec hex filename 2522 0 0 2522 9da expr.o.r18305 2478 0 0 2478 9ae expr.o
* - remove some unneeded forward declarations. No obj-code changes.Bernhard Reutner-Fischer2007-04-021-30/+26
|
* - remove args from bss, minor misc shrinkage while at it.Bernhard Reutner-Fischer2007-04-021-40/+45
| | | | | | text data bss dec hex filename 2577 0 4 2581 a15 expr.o 2522 0 0 2522 9da expr.o
* test: comment out unused codeDenis Vlasenko2007-04-021-0/+4
| | | | | udpsvd: fake it compile tcpsvd: more optimal memorizing of IP's for -C
* uniq: getopt32-ization. -38 bytes.Denis Vlasenko2007-03-311-22/+23
|
* - fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..Bernhard Reutner-Fischer2007-03-301-2/+0
|
* - debloat test. untested.Bernhard Reutner-Fischer2007-03-301-111/+116
| | | | | | | | | | 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
* - fix bug where we did not reject invalid classes like '[[:alpha'Bernhard Reutner-Fischer2007-03-301-79/+82
| | | | | | | - 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
* - fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer2007-03-293-10/+8
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* - move additional fancy options not mandated by SUSv3 into a FANCY optionBernhard Reutner-Fischer2007-03-282-7/+19
|
* diff: fix SEGV (NULL deref) in diff -NDenis Vlasenko2007-03-261-9/+18
|
* split: let me join bikeshed painting frenzy :)Denis Vlasenko2007-03-261-68/+71
| | | | | | | | | | | 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
* - check the suffix proper plus misc touch upBernhard Reutner-Fischer2007-03-261-29/+21
|
* - implement suffices as required by SUSv3Bernhard Reutner-Fischer2007-03-261-17/+29
| | | | - fix glitch in next_file (suffices were exhaused too early).
* - shrink a tiny bit (-8b)Bernhard Reutner-Fischer2007-03-261-7/+18
|
* - rough prototype for split(1). TODO: Still needs some love since it's way ↵Bernhard Reutner-Fischer2007-03-253-0/+127
| | | | | | | too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
* cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)Denis Vlasenko2007-03-211-11/+28
|
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-206-26/+26
|
* ls: fix segfault-if-standalone-shell, add big fat comment.Denis Vlasenko2007-03-191-2/+3
|
* chown, env: stop using staticsDenis Vlasenko2007-03-142-14/+14
|
* missed hunk of "stop using big static buffer for inode hash"Denis Vlasenko2007-03-141-1/+1
|
* introduce and use setfscreatecon_or_dieDenis Vlasenko2007-03-123-11/+3
| | | | | (patch by Yuichi Nakamura <ynakam@hitachisoft.jp>) runcon: *yet another* fix for vda's brainfart :(
* next portion of selinux updates: chcon, runcon. FromDenis Vlasenko2007-03-112-2/+3
| | | | | Yuichi Nakamura <himainu-ynakam@miomio.jp> KaiGai Kohei <busybox@kaigai.gr.jp>
* fix buglets found by randomconfig runDenis Vlasenko2007-03-112-3/+4
|
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko2007-03-108-39/+310
|
* printf: allow hex/oct numbers; move functions aroundDenis Vlasenko2007-03-091-113/+104
| | | | so that we have no forward declarations
* diff: failed to confirm "static bug" in gcc - reinstating statics.Denis Vlasenko2007-03-092-78/+80
| | | | microscopic code improvements.