aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apply post-1.15.2 fixesDenys Vlasenko2009-12-121-17/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* apply post-1.15.1 fixesDenys Vlasenko2009-10-081-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* beep: optimizeDenys Vlasenko2009-08-222-68/+56
| | | | | | | function old new delta beep_main 394 276 -118 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add config knob for default freq and lengthBernhard Reutner-Fischer2009-08-212-2/+26
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add simple beep appletBernhard Reutner-Fischer2009-08-213-0/+126
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* typo fix in commentDenys Vlasenko2009-08-141-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volname: new appletMatthew Stoltenberg2009-08-133-0/+61
| | | | | | | | | | | | | | | function old new delta volname_main - 90 +90 packed_usage 26373 26387 +14 applet_names 2078 2086 +8 applet_main 1232 1236 +4 applet_nameofs 616 618 +2 applet_install_loc 154 155 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 119/0) Total: 119 bytes Signed-off-by: Matthew Stoltenberg <d3matt@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rx: strip padding from last block. closes bug 501.Denys Vlasenko2009-08-021-43/+59
| | | | | | | function old new delta rx_main 876 974 +98 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* man: use man.config, not only man.conf (man version 1.6f compat)Denys Vlasenko2009-07-241-2/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix fallout from BSD patchesDenys Vlasenko2009-07-101-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move libc related stuff out of platform.hDenys Vlasenko2009-07-082-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix dependencies of FEATURE_GETOPT_LONGDenys Vlasenko2009-07-041-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add FAST_FUNC to function ptrs where it makes senseDenys Vlasenko2009-06-051-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta evalcommand 1195 1209 +14 testcmd - 10 +10 printfcmd - 10 +10 echocmd - 10 +10 func_exec 270 276 +6 echo_dg 104 109 +5 store_nlmsg 85 89 +4 pseudo_exec_argv 195 198 +3 dotcmd 287 290 +3 machtime_stream 29 31 +2 discard_stream 24 26 +2 argstr 1299 1301 +2 killcmd 108 109 +1 evalfor 226 227 +1 daytime_stream 43 44 +1 run_list 2544 2543 -1 lookupvar 62 61 -1 ipaddr_modify 1310 1309 -1 ... parse_stream 2254 2245 -9 evalpipe 356 347 -9 collect_if 210 197 -13 read_opt 869 851 -18 handle_dollar 681 658 -23 print_addrinfo 1342 1303 -39 iterate_on_dir 156 59 -97 print_route 1709 1609 -100 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 12/130 up/down: 74/-767) Total: -693 bytes text data bss dec hex filename 841748 467 7872 850087 cf8a7 busybox_old 841061 467 7872 849400 cf5f8 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flash_lock, flash_unlock: new appletsDenys Vlasenko2009-05-253-1/+86
| | | | | | | By Thierry Reding (thierry.reding AT avionic-design.de) Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hdparm: fix a thinko in a previous commitDenys Vlasenko2009-05-201-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hdparm: code shrinkDenys Vlasenko2009-05-201-171/+146
| | | | | | | | | | | | | | function old new delta parse_opts_0_INTMAX - 12 +12 parse_opts_0_1 - 12 +12 parse_opts_0_max - 9 +9 parse_opts 44 36 -8 process_dev 4679 4578 -101 hdparm_main 1061 854 -207 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 0/3 up/down: 33/-316) Total: -283 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hdparm: correct (t & 1) ? '0' : '5' thinko; wrap 80+ col linesDenys Vlasenko2009-05-201-43/+83
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* line editing: add an option to emit ESC [ 6 n and use resultsDenys Vlasenko2009-05-171-8/+6
| | | | | | | | | This makes line editing able to recognize case when cursor was not at the beginning of the line. It may also be adapted later to find out display size (serial line users would love it). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: bb_error_msg's messages should not be capitalizedDenis Vlasenko2009-04-291-1/+1
|
* we need to daemonize *before* opening the watchdog deviceMike Frysinger2009-04-251-4/+9
|
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-214-30/+30
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* watchdog: enable it before setting timeoutDenis Vlasenko2009-04-201-2/+9
| | | | | | | function old new delta watchdog_main 239 259 +20 static.enable - 4 +4
* more of pointless whitespace fixesDenis Vlasenko2009-04-012-3/+3
|
* trailing whitespace removalDenis Vlasenko2009-04-011-2/+2
|
* build system: hdparm -d is not that dangerous, remove warningDenis Vlasenko2009-03-291-2/+1
|
* timeout: fix parsing of -t NUM on MMUDenis Vlasenko2009-03-221-1/+1
|
* Compatibility fixes:Denis Vlasenko2009-03-201-1/+2
| | | | | | | | | grep: support -z find: support --mindepth together +45 bytes cpio: support -p (configurable, +230 bytes) libbb: tweaks for cpio
* chat: update by VladimirDenis Vlasenko2009-03-161-53/+44
| | | | | | | | | | | 1) to treat timeout more correctly (timeout affects whole send command duration, not a single char); 2) to recognize RECORD directive. function old new delta chat_main 1246 1359 +113 exitcode 1 - -1
* docs/logging_and_backgrounding.txt: new mini-docDenis Vlasenko2009-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | dnsd: remove statics, remove nerly-useless SIGINT handler crond: correct more of logfile to 0666 (as usual, umask allows user to remove unwanted bits). nameif: print errors to stderr too, not just to syslog function old new delta udhcp_read_interface 308 306 -2 ttl 4 - -4 fileconf 4 - -4 dnsentry 4 - -4 interrupt 19 - -19 dnsd_main 1463 1394 -69 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/2 up/down: 0/-102) Total: -102 bytes text data bss dec hex filename 808161 476 7864 816501 c7575 busybox_old 807994 468 7856 816318 c74be busybox_unstripped
* runsv: small optimizationDenis Vlasenko2009-02-261-2/+2
| | | | | | | | *: more paranoia around passing NULL to execl[e] function old new delta custom 240 221 -19
* flash_eraseall.c: fix vda's breakageDenis Vlasenko2009-02-241-1/+1
|
* - by not calling getpagesize() twice we can save 2 bytes (walter harms)Bernhard Reutner-Fischer2009-02-231-2/+2
|
* flash_eraseall: shrinkDenis Vlasenko2009-02-191-35/+39
| | | | | | function old new delta flash_eraseall_main 1044 1006 -38
* - bail out if screen resolution does not match PPM dimensions.Bernhard Reutner-Fischer2009-02-181-1/+3
| | | | | | | Previously a 640x480 PPM on an e.g. 720x400 console would just segfault when reading the lines. While this bug should perhaps be fixed to handle such cases properly we just exit gracefully until somebody is willing to take care of it properly.
* - document ppm header and skip whitespaceBernhard Reutner-Fischer2009-02-181-2/+14
|
* - eliminate globalsBernhard Reutner-Fischer2009-02-181-5/+10
|
* - make it compile and shrink it a little bit (~-110 bytes)Bernhard Reutner-Fischer2009-02-181-36/+33
| | | | | | | text data bss dec hex filename 1533 4 0 1537 601 miscutils/flash_eraseall.o.old 1415 4 0 1419 58b miscutils/flash_eraseall.o - add some FIXMEs
* - add flash_eraseallBernhard Reutner-Fischer2009-02-183-0/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the result after converting mtd-utils' flash_eraseall to BB. The functionality given by this patch almost the same except that this one does not support long options. I needed this tool a system which does not have a lot of flash for RFS and merging this into BB as the only way out. [bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl function old new delta flash_eraseall_main - 1072 +1072 show_progress - 62 +62 packed_usage 25156 25176 +20 applet_names 1958 1973 +15 applet_main 2352 2360 +8 target_endian - 4 +4 applet_nameofs 588 590 +2 applet_install_loc 147 148 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes [bigeasy@]$ size miscutils/flash_eraseall.o text data bss dec hex filename 1586 4 0 1590 636 miscutils/flash_eraseall.o Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
* - PPMs can have comments in the header.Bernhard Reutner-Fischer2009-02-161-24/+21
| | | | Thanks to Denys for pointing that out. (~+7b)
* - misc untested shrinkage:Bernhard Reutner-Fischer2009-02-141-11/+15
| | | | | | | | | | | | | | | $ ./scripts/bloat-o-meter _bb_un.oorig busybox_unstripped function old new delta fbsplash_main 595 985 +390 fb_drawimage 493 - -493 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 390/-493) Total: -103 bytes $ size miscutils/fbsplash.o* text data bss dec hex filename 2019 0 0 2019 7e3 miscutils/fbsplash.o.oorig 1857 0 0 1857 741 miscutils/fbsplash.o.new
* - improve helptext of obsolete devfs stuff..Bernhard Reutner-Fischer2009-02-141-3/+8
|
* crond,crontab: make cron directory location configurableDenis Vlasenko2009-02-033-9/+10
|
* ionice: new applet, adapted from Linux kernel' example by Walter HarmsDenis Vlasenko2009-01-313-0/+107
| | | | | | | text data bss dec hex filename 1050316 924 10952 1062192 103530 busybox_old 1050758 924 10952 1062634 1036ea busybox_unstripped
* - update Michele addressBernhard Reutner-Fischer2009-01-271-2/+1
|
* dc: fix the "base 2" patch omission of base not being setDenis Vlasenko2008-12-301-1/+3
|
* libbb: add bb_unsetenv (taken from hush).Denis Vlasenko2008-12-301-7/+5
| | | | | | | | | | | | | | | | | | | udhcpc: stop filtering environment passed to the script. crond: fix uncovered potential bug (failing unsetenv) mdev: fix uncovered potential bug (failing unsetenv) tcp, udpsvd: fix uncovered potential bug (failing unsetenv) function old new delta safe_setenv - 58 +58 bb_unsetenv - 55 +55 builtin_unset 139 138 -1 tcpudpsvd_main 1843 1830 -13 free_strings_and_unsetenv 87 53 -34 udhcp_run_script 1186 1133 -53 safe_setenv4 62 - -62 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/4 up/down: 113/-163) Total: -50 bytes
* watchdog: build fixes, no code changesDenis Vlasenko2008-12-141-2/+7
|
* libiproute: fix buggy open check: s/if (fd)/if (fd >= 0)/Denis Vlasenko2008-12-101-3/+1
| | | | | less: small optimization -15 bytes
* clarify which version of crond is known to put tasks in separate pgrpsDenis Vlasenko2008-12-041-2/+2
|
* libbb: introduce and use xgetpwnam. ~ -150 bytes.Denis Vlasenko2008-12-031-3/+1
|