f0d6cc8ca9
getopt_ulflags: fix indentation in comment (needs to be 8 _spaces_ in order to look correct to both 4 tab and 8 tab population). Add comment about :: (which indicates optional argument).
Denis Vlasenko
2006-09-29 13:56:58 +00:00
981b24db5e
rt_names.c: move few strings into rodata
Denis Vlasenko
2006-09-28 22:36:23 +00:00
5492884311
dpkg: style fixes; short -> int (generated code is smaller)
Denis Vlasenko
2006-09-28 22:35:42 +00:00
57308afb5b
dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!) at the cost of ~100 bytes of text. Improves friendliness to nommu systems. (Dunno whether nommu people ever use dpkg, though...)
Denis Vlasenko
2006-09-28 22:34:46 +00:00
06b543b217
ifupdown: make dhcp start/stop scripts user configurable in /etc/network/interfaces. Patch author is Gabriel L. Somlo <somlo@cmu.edu>
Denis Vlasenko
2006-09-28 22:31:51 +00:00
524176680d
Tried to find sha1_crypt - nope... ok, save few bytes in md5_sha1_sum.c (time to sleep, 02:28 in the morning)...
Denis Vlasenko
2006-09-28 00:29:00 +00:00
94d5d82bd8
crontab: we indent using tabs
Denis Vlasenko
2006-09-27 19:48:56 +00:00
956a569360
losetup: with no arguments lists all /dev/loopN. Corrected help text. (patch by Vladimir Dronnikov <dronnikov@gmail.ru>)
Denis Vlasenko
2006-09-27 14:51:27 +00:00
0bb628f4f3
kill: implement killall5. OpenWRT folks will be happy. However their code was unusably different from sysvinit original. Run tested.
Denis Vlasenko
2006-09-27 14:25:33 +00:00
a77947f5bb
kill: fix bugs (kill -l output was horrible), fix style, constify data
Denis Vlasenko
2006-09-27 14:19:16 +00:00
be905d550c
process utilities related style cleanup
Denis Vlasenko
2006-09-27 14:17:31 +00:00
29d94b907f
Another attempt at untangling the logic so the compiler can follow it and not generate pointless warnings.
Rob Landley
2006-09-23 19:56:21 +00:00
a94554d010
wget: fix bug where wget creates null file if there is no remote one. add O_LARGEFILE support (not run tested :).
Denis Vlasenko
2006-09-23 17:49:09 +00:00
6429aabbf1
bb_askpass: shorten static password buffer. 256 is way too large. simplify code a bit.
Denis Vlasenko
2006-09-23 12:22:11 +00:00
b97f07f5a1
Follow-up to 16172: this also doesn't produce a warning for me on gcc 4.1, without having to feed the compiler nonsense.
Rob Landley
2006-09-22 19:11:59 +00:00
0372197385
"I'll think about it" != "apply it now". It means I need to think about it.
Rob Landley
2006-09-22 18:47:45 +00:00
ae843e9cc8
- add new applet resize. text data bss dec hex filename 185 0 0 185 b9 console-tools/resize.o 255 0 0 255 ff console-tools/resize.o.print
Bernhard Reutner-Fischer
2006-09-22 08:18:41 +00:00
e9a7a6212b
Change license statements (and clean up headers) on some of the files that Erik or I are primary copyright holders on.
Rob Landley
2006-09-22 02:52:41 +00:00
05592ac00c
- update and expand TODO a little bit
Bernhard Reutner-Fischer
2006-09-21 22:58:38 +00:00
3503ff72c6
- pull r15578 from busybox_scratch branch: - fix bug where it would behave wrong if ./nohup.out was not writable. - debloat and make it readable while at it. $ size coreutils/nohup.o* text data bss dec hex filename 362 0 0 362 16a coreutils/nohup.o.trunk 344 0 0 344 158 coreutils/nohup.o $ make bloatcheck function old new delta nohup_main 324 310 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-14) Total: -14 bytes
Bernhard Reutner-Fischer
2006-09-21 22:10:24 +00:00
42f67026a1
- silence gcc warning about a funcptr possibly being used uninitialized. This is a perfect example on where we should NOT care if the functor is not initialized since the result will not be what the user may expect. Safe bet would be to init to NULL, but let's try normal uu for good measure. - fix commentary typo while at it.
Bernhard Reutner-Fischer
2006-09-21 20:40:56 +00:00
ce32f65a1b
mount: nfs mount should enable bb_error-to-syslog support
Denis Vlasenko
2006-09-21 12:30:16 +00:00
a528643330
- gcc-2.95 doesn't support -static-libgcc - remove Winline
Bernhard Reutner-Fischer
2006-09-21 11:54:51 +00:00
116080a13a
mount: make Rob happy by reinstating #defines
Denis Vlasenko
2006-09-21 11:13:08 +00:00
fbdf121b7d
Teach get_terminal_width_height to fall back to $LINES and $COLUMNS when used via things like a serial console.
Rob Landley
2006-09-20 22:06:01 +00:00
4ef6f647a3
The version checked into the tree is a snapshot of an unifinished applet, and you just made lots of ">>>>>>> mine" lines show up in my working copy of this.
Rob Landley
2006-09-20 21:57:36 +00:00
eb84a42fdd
The Software Freedom Law Center wants us to add a copyright notice to the generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text:
Rob Landley
2006-09-20 21:41:13 +00:00
94b383d419
License clarification.
Rob Landley
2006-09-20 20:01:29 +00:00
d1f939eaf3
- fix documentation for the command-line options of ipcs. Closes#1036
Bernhard Reutner-Fischer
2006-09-20 15:56:53 +00:00
a6585774f9
- fix embarrassing typo of mine. Closes bug #1038
Bernhard Reutner-Fischer
2006-09-20 15:29:13 +00:00
debaf2fe02
stty: reorder code, reducing need in forward declarations. added few missed bits of error checking for parameters.
Denis Vlasenko
2006-09-19 14:31:44 +00:00
20b253d2d8
stty: convert "enum mode_type" into unnamed enum (reduces code obfuscation); deindent set_mode; add _or_die suffixes to few functions
Denis Vlasenko
2006-09-19 14:24:23 +00:00
3bc59aa2a4
mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr; check for "more than 2 arguments" was actually checking for -2.
Denis Vlasenko
2006-09-17 15:04:01 +00:00
fc56dd2e21
mount: use bb_simplify_path as appropriate
Denis Vlasenko
2006-09-17 15:01:53 +00:00