aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tweak in commentDenys Vlasenko2009-11-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: initial stab at brace expansion supportDenys Vlasenko2009-11-161-4/+133
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix handling of words with braces. +65 bytesDenys Vlasenko2009-11-163-8/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix exit code propagation from `cmd`. +45 bytesDenys Vlasenko2009-11-163-10/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: added xfdopen_for_read/writeDenys Vlasenko2009-11-1515-49/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xfdopen_helper - 40 +40 logdir_open 1163 1184 +21 process_stdin 433 443 +10 xfdopen_for_write - 9 +9 doCommands 2465 2474 +9 patch_main 1214 1222 +8 bbunpack 457 465 +8 xfdopen_for_read - 7 +7 scan_tree 258 262 +4 xstrtoul_range_sfx 230 231 +1 sendmail_main 957 955 -2 passwd_main 1027 1023 -4 parse 969 964 -5 test_main 253 247 -6 sed_main 655 649 -6 dos2unix_main 437 429 -8 fbsplash_main 950 938 -12 handle_dir_common 371 354 -17 expand_vars_to_list 2197 2169 -28 update_passwd 1275 1246 -29 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 7/10 up/down: 117/-117) Total: 0 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: wait for `cmd` to complete, and immediately store its exitcode in $?Denys Vlasenko2009-11-154-18/+70
| | | | | | | function old new delta expand_vars_to_list 2129 2197 +68 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: restore hadling of MMDDhhmm[[CC]YY][.ss] date formatDenys Vlasenko2009-11-152-5/+30
| | | | | | | function old new delta date_main 698 889 +191 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* init: restore possibility to reload inittab even before we finish initializationDenys Vlasenko2009-11-151-16/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eject: band-aid for kernel headers using u8 typeDenys Vlasenko2009-11-151-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fsck: add comment clarifying exit codesDenys Vlasenko2009-11-151-1/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* some non-gnu compilers can't have non-const struct initializersDenys Vlasenko2009-11-154-11/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use utimes() rather than obsolescent utime()Bernhard Reutner-Fischer2009-11-154-17/+13
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* use utimes() rather than obsolescent utime()Bernhard Reutner-Fischer2009-11-142-6/+3
| | | | | | | utime is obsolescent in POSIX.1-2008, use utimes() for now. Untested. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* httpd_post_upload.txt example: handle binary files tooDenys Vlasenko2009-11-131-37/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: on output file, set not only mode, but owner tooDenys Vlasenko2009-11-131-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use "can't" instead of "cannot"Denys Vlasenko2009-11-1363-148/+148
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* env: don't SEGV on bare "env -"Denys Vlasenko2009-11-121-8/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tidy up O_NONBLOCK usage. use libbb functions in stty.Denys Vlasenko2009-11-117-22/+12
| | | | | | | | | | Added O_RDONLY where improves readability. Note: O_RDONLY == 0, so it is there even if not specified. function old new delta stty_main 1289 1235 -54 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev_fat.conf: add a rule to run nameifDenys Vlasenko2009-11-111-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix bad interaction of "stty -echo" + ASK_TERMINALDenys Vlasenko2009-11-111-47/+52
| | | | | | | | | | function old new delta read_line_input 4820 4886 +66 put_prompt 108 47 -61 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 66/-61) Total: 5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix 'not not' in commentDenys Vlasenko2009-11-091-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak service examples a bit (less verbose comment in dhcp_if)Denys Vlasenko2009-11-092-37/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak dhcp service example - add ntp configurationDenys Vlasenko2009-11-093-53/+84
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add and example of tftpd serviceDenys Vlasenko2009-11-084-0/+44
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftpd: another small tweakDenys Vlasenko2009-11-081-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: another small tweakDenys Vlasenko2009-11-081-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftpd: slight correction to progress bar codeDenys Vlasenko2009-11-081-6/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: add optiona support for progress barMagnus Damm2009-11-082-18/+84
| | | | | | | | | | | | | | function old new delta tftp_protocol 1662 1834 +172 progress_meter 212 365 +153 tftp_progress_init - 14 +14 tftp_main 276 281 +5 tftpd_main 513 500 -13 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/1 up/down: 344/-13) Total: 331 bytes Signed-off-by: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tftp: extend tsize support a littleMagnus Damm2009-11-081-39/+57
| | | | | | | | | | | | function old new delta tftp_protocol 1624 1662 +38 tftpd_main 495 513 +18 tftp_main 274 276 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 58/0) Total: 58 bytes Signed-off-by: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wget: factor out progress bar codeMagnus Damm2009-11-084-121/+169
| | | | | Signed-off-by: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add more service examplesDenys Vlasenko2009-11-0821-9/+687
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak mdev_fat.conf exampleDenys Vlasenko2009-11-071-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak examplesDenys Vlasenko2009-11-072-11/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: small optimizationDenys Vlasenko2009-11-071-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: allow compressed image filesVladimir Dronnikov2009-11-071-1/+8
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* top: do not use #if inside printf, it can be a macroDenys Vlasenko2009-11-071-18/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adding examples/mdev_fat.confDenys Vlasenko2009-11-071-0/+105
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: print line# in error messagesDenys Vlasenko2009-11-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add examples/mdev.confDenys Vlasenko2009-11-071-0/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* big endian warning fixesDenys Vlasenko2009-11-074-14/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* removed SuSv3 doc tarball - potential licensing problemDenys Vlasenko2009-11-061-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2009-11-062-20/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adding example runit-style service directoryDenys Vlasenko2009-11-0620-0/+613
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dumpleases: unicode spportTomas Heinrich2009-11-051-0/+8
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* applets: meant to fix order, not enable bbshMike Frysinger2009-11-041-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* all_sourcecode.tests: check commented out applet order tooMike Frysinger2009-11-041-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* applets: fix alphabetical orderMike Frysinger2009-11-041-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: fix POSIX shell source styleMike Frysinger2009-11-0435-36/+36
| | | | | | | The source command does not search $PWD, and bash recently fixed itself to follow this behavior for /bin/sh. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* lsmod: beautify. no code changesDenys Vlasenko2009-11-041-9/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb.h: remove two over-zealous RETURNS_MALLOCDenys Vlasenko2009-11-041-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>