aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* fold: fix a corner case. By Tomas Heinrich (heinrich.tomas AT gmail.com)Denys Vlasenko2009-11-042-8/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_vfat: fixes for large image casesDenys Vlasenko2009-11-031-3/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: add -L LABEL option. closes bug 689.Denys Vlasenko2009-11-032-56/+50
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* passwd: do not complain if /etc/shadow is missingDenys Vlasenko2009-11-022-4/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc: log script parameter tooDenys Vlasenko2009-11-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/libbb.h: mark malloc-returning functions with GCC attributeDenys Vlasenko2009-11-022-34/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta ash_main 1336 1365 +29 readcmd 1062 1072 +10 add_split_dependencies 707 717 +10 rtnl_talk 539 548 +9 normalize 165 174 +9 xmalloc_optname_optval 583 590 +7 test_main 247 253 +6 insert_bg_job 366 371 +5 dname_enc 391 395 +4 nslookup_main 165 168 +3 ifplugd_main 1099 1102 +3 tftpd_main 493 495 +2 make_new_session 413 415 +2 localcmd 274 276 +2 date_main 696 698 +2 tee_main 317 318 +1 setvar 183 184 +1 hash_find 233 234 +1 xrtnl_dump_filter 400 399 -1 prepend_new_eth_table 297 295 -2 unpack_Z_stream 1229 1226 -3 read_line_input 4823 4820 -3 do_load 523 520 -3 udhcp_run_script 669 665 -4 mkfs_vfat_main 1609 1605 -4 rtnl_rtprot_initialize 70 65 -5 procps_scan 1842 1835 -7 read_opt 873 865 -8 ifupdown_main 2133 2125 -8 mkfs_ext2_main 2492 2482 -10 logread_main 503 492 -11 svlogd_main 1441 1429 -12 rewrite 1032 1018 -14 fbsplash_main 917 903 -14 str2sockaddr 431 405 -26 unpack_lzma_stream 2705 2677 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 18/18 up/down: 106/-163) Total: -57 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use ffulsh_all()Denys Vlasenko2009-11-0249-96/+84
| | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 179 196 +17 fflush_all - 9 +9 spawn 87 92 +5 rtcwake_main 455 453 -2 ... alarm_intr 93 84 -9 readcmd 1072 1062 -10 bb_ask 345 333 -12 more_main 845 832 -13 flush_stdout_stderr 42 23 -19 xfflush_stdout 27 - -27 flush_stderr 30 - -30 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/50 up/down: 31/-397) Total: -366 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs.reiser: new applet. needs much polishingVladimir Dronnikov2009-11-025-6/+402
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* btrfs.c: check first two superblocks, for additional robustnessDenys Vlasenko2009-11-021-8/+15
| | | | | | | function old new delta volume_id_probe_btrfs 94 142 +48 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: add FAST_FUNC where appropriateDenys Vlasenko2009-11-0132-73/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta volume_id_probe_iso9660 324 327 +3 volume_id_probe_vfat 902 903 +1 volume_id_probe_udf 576 577 +1 volume_id_probe_ntfs 314 315 +1 uuidcache_check_device 292 291 -1 volume_id_probe_xfs 87 85 -2 volume_id_probe_sysv 165 163 -2 volume_id_probe_romfs 89 87 -2 volume_id_probe_reiserfs 236 234 -2 volume_id_probe_ocfs2 96 94 -2 volume_id_probe_luks 78 76 -2 volume_id_probe_linux_swap 165 163 -2 volume_id_probe_jfs 96 94 -2 volume_id_probe_hfs_hfsplus 795 793 -2 volume_id_probe_ext 82 80 -2 volume_id_probe_cramfs 59 57 -2 volume_id_probe_btrfs 96 94 -2 free_volume_id 36 31 -5 volume_id_probe_linux_raid 127 119 -8 volume_id_probe_all 152 138 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/16 up/down: 6/-52) Total: -46 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: add support for btrfsVladimir Dronnikov2009-11-016-1/+114
| | | | | | | | | | | function old new delta volume_id_probe_btrfs - 96 +96 fs2 48 52 +4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/0 up/down: 100/0) Total: 100 bytes Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: do not die on mknod errorsDenys Vlasenko2009-11-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mountpoint: btrfs fixVladimir Dronnikov2009-11-011-2/+11
| | | | | Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>