Bernhard Reutner-Fischer
8025afad8a
- use xregcomp. Untested. vda, isn't there a regfree missing here?
...
text data bss dec hex filename
2522 0 0 2522 9da expr.o.r18305
2478 0 0 2478 9ae expr.o
2007-04-02 16:54:41 +00:00
Bernhard Reutner-Fischer
3c5929a53b
- remove some unneeded forward declarations. No obj-code changes.
2007-04-02 16:41:24 +00:00
Bernhard Reutner-Fischer
adb01b1583
- remove args from bss, minor misc shrinkage while at it.
...
text data bss dec hex filename
2577 0 4 2581 a15 expr.o
2522 0 0 2522 9da expr.o
2007-04-02 16:38:13 +00:00
Denis Vlasenko
729bd9e0b0
test: comment out unused code
...
udpsvd: fake it compile
tcpsvd: more optimal memorizing of IP's for -C
2007-04-02 12:37:28 +00:00
Denis Vlasenko
4caa09a782
uniq: getopt32-ization. -38 bytes.
2007-03-31 10:19:11 +00:00
Bernhard Reutner-Fischer
7b881c7168
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
2007-03-30 18:26:46 +00:00
Bernhard Reutner-Fischer
cc890264d9
- debloat test. untested.
...
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 18:23:36 +00:00
Bernhard Reutner-Fischer
eceecea568
- fix bug where we did not reject invalid classes like '[[:alpha'
...
- 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-30 14:43:27 +00:00
Bernhard Reutner-Fischer
3e816c1252
- fold recurse, depthFirst and dereference params into one param flags.
...
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
2007-03-29 10:30:50 +00:00
Bernhard Reutner-Fischer
0a537a0c57
- move additional fancy options not mandated by SUSv3 into a FANCY option
2007-03-28 16:48:40 +00:00
Denis Vlasenko
3983bd5593
diff: fix SEGV (NULL deref) in diff -N
2007-03-26 22:58:21 +00:00
Denis Vlasenko
91dd275f05
split: let me join bikeshed painting frenzy :)
...
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 20:15:40 +00:00
Bernhard Reutner-Fischer
576de34d1c
- check the suffix proper plus misc touch up
2007-03-26 18:19:29 +00:00
Bernhard Reutner-Fischer
b813eaff23
- implement suffices as required by SUSv3
...
- fix glitch in next_file (suffices were exhaused too early).
2007-03-26 14:28:12 +00:00
Bernhard Reutner-Fischer
cd43dfdeec
- shrink a tiny bit (-8b)
2007-03-26 10:46:31 +00:00
Bernhard Reutner-Fischer
10f8f5f443
- rough prototype for split(1). TODO: Still needs some love since it's way too big..
...
text data bss dec hex filename
602 4 0 606 25e coreutils/split.o
2007-03-25 21:50:18 +00:00
Denis Vlasenko
9a1fa8cf07
cmp: support 3rd and 4th arguments if DESKTOP=y (needed for gcc build)
2007-03-21 22:30:14 +00:00
Denis Vlasenko
c86e052b81
fix accumulated whitespace and indentation damage
2007-03-20 11:30:28 +00:00
Denis Vlasenko
97fd6d81b4
ls: fix segfault-if-standalone-shell, add big fat comment.
2007-03-19 20:59:20 +00:00
Denis Vlasenko
16c7fb7fc5
chown, env: stop using statics
2007-03-14 22:08:04 +00:00
Denis Vlasenko
e1e93c1e1c
missed hunk of "stop using big static buffer for inode hash"
2007-03-14 22:06:57 +00:00
Denis Vlasenko
39c651e909
introduce and use setfscreatecon_or_die
...
(patch by Yuichi Nakamura <ynakam@hitachisoft.jp>)
runcon: *yet another* fix for vda's brainfart :(
2007-03-12 18:22:55 +00:00
Denis Vlasenko
1203c9bf2f
next portion of selinux updates: chcon, runcon. From
...
Yuichi Nakamura <himainu-ynakam@miomio.jp>
KaiGai Kohei <busybox@kaigai.gr.jp>
2007-03-11 22:16:02 +00:00
Denis Vlasenko
a4688bf55d
fix buglets found by randomconfig run
2007-03-11 10:56:37 +00:00
Denis Vlasenko
49622d7846
selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)
2007-03-10 16:58:49 +00:00
Denis Vlasenko
339f5eb2e0
printf: allow hex/oct numbers; move functions around
...
so that we have no forward declarations
2007-03-09 16:43:01 +00:00
Denis Vlasenko
02f0c4c2bf
diff: failed to confirm "static bug" in gcc - reinstating statics.
...
microscopic code improvements.
2007-03-09 10:08:53 +00:00
Denis Vlasenko
8a91081d9d
chown: fix comment, fix verbose message
2007-03-08 16:14:46 +00:00
Denis Vlasenko
cd27c42552
chown: support -H -L -P if ENABLE_DESKTOP
...
chmod: cosmetic fixes
expr: smallish help for dumb compilers
2007-03-08 13:37:43 +00:00
Denis Vlasenko
0085f231b2
diff: make -U0 work
2007-03-07 22:45:42 +00:00
Denis Vlasenko
8e858e2700
clean up accumulated whitespace damage
2007-03-07 09:35:43 +00:00
Denis Vlasenko
41cca2b4f5
who: stop using static buffer, small size optimizations
2007-03-07 00:07:42 +00:00
Denis Vlasenko
2110aa9ece
ls: w/o -l follow symlinks to dirs for commandline args
2007-02-28 23:14:06 +00:00
Denis Vlasenko
cce38586ae
start_stop_daemon: add -chuid support
2007-02-26 22:47:42 +00:00
Denis Vlasenko
54cf511ce1
sort: fix multiple -k (was ignoring all except last)
2007-02-17 18:11:45 +00:00
Denis Vlasenko
6089c2c31e
diff: fix access past end of array
2007-02-11 19:07:03 +00:00
Denis Vlasenko
6ca0444420
syslogd: fix "readpath bug" by using readlink instead
...
libbb: rename xgetcwd and xreadlink
2007-02-11 16:19:28 +00:00
Denis Vlasenko
1d76f439da
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
2007-02-06 01:20:12 +00:00
Bernhard Reutner-Fischer
cbd6e65744
- fix buglet introduced in r17351 in find_param(). Closes #1193
2007-02-04 11:13:57 +00:00
Denis Vlasenko
06af216528
suppress warnings about easch <applet>_main() having
...
no preceding prototype
2007-02-03 17:28:39 +00:00
Bernhard Reutner-Fischer
6a1829d90c
- include busybox.h before looking at an eventual #if ENABLE_DESKTOP
2007-02-03 12:52:25 +00:00
Denis Vlasenko
a41fdf331a
preparatory patch for -Wwrite-strings #1
2007-01-29 22:51:00 +00:00
Denis Vlasenko
e06bed30cf
use bb_sanitize_stdio() where appropriate
2007-01-27 22:21:12 +00:00
Bernhard Reutner-Fischer
cd75a96f0f
- sum -r TODO should not print the filename as oposed to -s
...
Unfortunately, without rewriting sum, this bugfix adds 19 (!) bytes.
2007-01-27 22:11:28 +00:00
Denis Vlasenko
fc7f92253a
find: fix -mtime, -mmin, -perm (+ add symbolic perm handling)
...
chmod: better name for a variable
2007-01-26 23:00:05 +00:00
Bernhard Reutner-Fischer
84d2d493b4
- remove nested function. Saves ~30 bytes.
2007-01-24 21:38:10 +00:00
Bernhard Reutner-Fischer
d19f4aaa21
- small size tweak
2007-01-20 21:32:38 +00:00
Bernhard Reutner-Fischer
1118a1de46
- make pre SUSv3 option handling dependant on INCLUDE_SUSv2
2007-01-20 21:32:20 +00:00
Bernhard Reutner-Fischer
8b1ae45037
- small size tweak
2007-01-20 21:31:21 +00:00
Bernhard Reutner-Fischer
b31c252860
- reuse retval for the option handling.
...
- TODO add tee, readahead and splice support to uClibc and use it in busybox!
2007-01-20 21:30:49 +00:00