Bernhard Reutner-Fischer
45aebfd32d
- bail out if either file does not exist
...
Avoids filling my scrollback-buffer with superfluous information ;)
2007-04-05 12:27:12 +00:00
Bernhard Reutner-Fischer
2e75dcc80d
- add -s|--spider which only checks if the file exists but does not download it's content.
...
Closes #1291
2007-04-05 10:31:47 +00:00
Bernhard Reutner-Fischer
6d79dd66cb
- size and prune were mixed up
2007-04-05 09:40:12 +00:00
Bernhard Reutner-Fischer
bdd253e450
- fix segfault in reset_ino_dev_hashtable() when *hashtable was null.
...
Seen in the testsuite for du -l .../testsuite on exit with CLEAN_UP enabled.
2007-04-05 09:21:24 +00:00
Denis Vlasenko
7d6c9296e7
find: missed 'ststic' on const data
2007-04-05 00:35:43 +00:00
Denis Vlasenko
56fce00fc7
find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)
...
find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>)
find: make constant array static, declare PARM_xx constants with enum
2007-04-04 23:41:35 +00:00
Bernhard Reutner-Fischer
febe3c4211
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
2007-04-04 20:52:03 +00:00
Bernhard Reutner-Fischer
d9c2d5fe4f
- minor shrinkage
...
text data bss dec hex filename
1431 0 4 1435 59b tail.o.orig
1396 0 0 1396 574 tail.o
2007-04-04 20:29:15 +00:00
Bernhard Reutner-Fischer
10aed96f14
- remove debugging output. sorry..
2007-04-04 17:58:39 +00:00
Bernhard Reutner-Fischer
24efe4f15f
- note cosmetic glitch in tail
2007-04-04 17:57:55 +00:00
Denis Vlasenko
1ca332b367
reword comment
2007-04-04 17:49:47 +00:00
Bernhard Reutner-Fischer
2a47dea263
- remove bss users. Shrinkage while at it. See XXX for further, pre-existing 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 14:01:23 +00:00
Bernhard Reutner-Fischer
3a60244ae9
- remove some bss users.
...
text data bss dec hex filename
6220 8 14 6242 1862 stty.o.oorig
6219 8 0 6227 1853 stty.o
2007-04-04 13:59:49 +00:00
Bernhard Reutner-Fischer
0e6ab01c5a
- remove superfluous bss user (flags) and manually unswitch some areas:
...
text data bss dec hex filename
4517 0 34 4551 11c7 stat.o.oorig
4300 0 30 4330 10ea stat.o
2007-04-04 13:58:33 +00:00
Denis Vlasenko
794687947f
Add/improve comment, shorten some usage texts. No code changes.
2007-04-04 11:02:55 +00:00
Denis Vlasenko
64a15124e7
ipsvd: use IP:PORT syntax for environment vars. Pros:
...
1. it's saner (matches internal libc sockaddr abstraction).
2. it's smaller.
Cons: not compatible with smarden's ipsvd.
Fix IPv6 define typos.
Stop interpreting options in prog's args.
Code size -162 bytes.
2007-04-04 10:16:15 +00:00
Denis Vlasenko
02fd66885c
ipsvd: make udpsvd work similar to tcpsvd (multiple parallel
...
children for several streams of udp packets tested to work)
code size: -509 bytes
2007-04-03 23:23:10 +00:00
Denis Vlasenko
b933ac1e25
ipsvd: fixes and improvements after testing
2007-04-03 12:09:46 +00:00
Denis Vlasenko
992e05b6f0
udpsvd: more work on it. works in limited testing.
2007-04-03 01:13:04 +00:00
Bernhard Reutner-Fischer
cea0a8bccb
- use bb_error_msg
2007-04-02 17:01:22 +00:00
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
b05a939bcc
udpsvd: forgotten 'svn add'
2007-04-02 06:17:45 +00:00
Denis Vlasenko
60fadaca28
udpsvd: next part of ipsvd applets (not working yet)
2007-04-01 19:10:36 +00:00
Denis Vlasenko
57a426b15b
tcpsvd: fix line buffering, add firewall query code
2007-04-01 10:59:33 +00:00
Denis Vlasenko
ba2fb719b9
Copyright, help text, whitespace cleanups
2007-04-01 09:39:03 +00:00
Denis Vlasenko
2856dab477
tcpsvd: new applet
...
It's a GPL-ed 'clone' of Dan Bernstein's tcpserver.
Author: Gerrit Pape <pape@smarden.org>
http://smarden.sunsite.dk/ipsvd/
size tcpsvd.o
text data bss dec hex filename
2571 4 16 2591 a1f tcpsvd.o
2007-04-01 01:18:20 +00:00
Denis Vlasenko
f443bffd3c
lash: make -c work; crush buffer overrun and free of non-malloced ptr
...
(from Mats Erik Andersson <mats.andersson64@comhem.se>)
2007-03-31 11:08:50 +00:00
Denis Vlasenko
6fa8b8e17f
lash: style cleanup
2007-03-31 11:07:30 +00:00
Denis Vlasenko
9eb51ad6b9
website: link to post-1.5.0 fixes, fix dangling link
2007-03-31 10:32:27 +00:00
Denis Vlasenko
ae47cd1da7
hdparm: fix multisector mode setting
...
(from Toni Mirabete <amirabete@catix.cat>)
2007-03-31 10:30:02 +00:00
Denis Vlasenko
4caa09a782
uniq: getopt32-ization. -38 bytes.
2007-03-31 10:19:11 +00:00
Denis Vlasenko
666c40c9fc
unzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!)
2007-03-31 10:17:24 +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
Mike Frysinger
52a9db6bb8
introduce the concept of LDLIBS for additional libraries so that when we do the final link, the objects/libraries are in the correct order
2007-03-30 05:44:15 +00:00
Denis Vlasenko
2e723237c9
traceroute: move data off bss. small code optimizations.
...
function old new delta
traceroute_main 4358 4397 +39
verbose 13 9 -4
useicmp 4 - -4
nflag 4 - -4
split_suffices 40 24 -16
route 16 - -16
dumpleases_main 392 357 -35
gwlist 36 - -36
whereto 128 - -128
wherefrom 128 - -128
packet 512 - -512
------------------------------------------------------------------------------
(add/remove: 0/7 grow/shrink: 1/3 up/down: 39/-883) Total: -844 bytes
2007-03-29 21:55:22 +00:00
Denis Vlasenko
53f83d68fb
dpkg: run_package_script() returns 0 if all ok and non-zero if failure.
...
The result code was checked incorrectly in two places.
(from "Kim B. Heino" <Kim.Heino@bluegiga.com>)
2007-03-29 19:42:19 +00:00
Denis Vlasenko
5e43d8591b
dumpleases: getopt32()-ization
...
(from Mats Erik Andersson <mats.andersson64@comhem.se>)
2007-03-29 19:29:32 +00:00
Bernhard Reutner-Fischer
a87ed2c716
- use index_in_str_array also for find_main
...
text data bss dec hex filename
2605 1 12 2618 a3a find.o.r18274
2602 1 12 2615 a37 find.o.r18275
2007-03-29 13:56:49 +00:00
Bernhard Reutner-Fischer
307d27df4f
- remove bloated switch statement.
...
text data bss dec hex filename
2706 1 12 2719 a9f find.o.r18273
2605 1 12 2618 a3a find.o.r18274
2007-03-29 13:56:02 +00:00
Bernhard Reutner-Fischer
557b458767
- implement a TODO: Use index_in_str_array in parse_params
...
text data bss dec hex filename
2771 1 12 2784 ae0 find.o.r18272
2749 1 12 2762 aca find.o.-try-switch
2706 1 12 2719 a9f find.o.r18273
2007-03-29 13:55:17 +00:00
Bernhard Reutner-Fischer
32773aca55
- Purely cosmetic type fiddling
2007-03-29 13:54:17 +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
3d43edb28c
- update defconfig
2007-03-28 22:19:46 +00:00
Denis Vlasenko
c7d4b98cbd
run_parts: I was wrong, NULL termination is already done because
...
G is pre-initialized to 0.
2007-03-28 22:05:38 +00:00
Denis Vlasenko
45cd089df1
run_parts: NULL-terminate list of arguments; fix perror/error usage
2007-03-28 22:04:04 +00:00