aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* vi: nuke FEATURE_VI_OPTIMIZE_CURSORDenys Vlasenko2012-06-111-124/+58
| | | | | | | | | | | | | | | | | | It is not Unicode safe, it is not saving much of I/O, and it's large: function old new delta vi_main 255 253 -2 go_bottom_and_clear_to_eol 28 26 -2 do_cmd 4194 4182 -12 show_status_line 388 374 -14 strncat 39 - -39 __GI_strncat 39 - -39 refresh 774 724 -50 place_cursor 276 83 -193 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/6 up/down: 0/-351) Total: -351 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ntpd: on time step, kill all outstanding replies from other peersDenys Vlasenko2012-06-111-20/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: some more awk tests related to conditionsTanguy Pruvot2012-06-111-0/+7
| | | | | Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-11/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* vi: do not set autoindent by defaultDenys Vlasenko2012-06-111-7/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: add missing_syscalls.c: for now, only Android syscallsTias Guns2012-06-101-0/+42
| | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* android: some sensible defconfig changesTias Guns2012-06-101-14/+14
| | | | | | | | | | | | | | | | | | | - no /usr - no skip rootfs - use /system/lib/modules And for niceties: - show usage - have installer - long opts - verbose cp - ls --color support - bbconfig Also adds lsof (new in 1.20.0) Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATHTias Guns2012-06-101-0/+6
| | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* android: fix 'stat', ifdef S_TYPEIS* in coreutiles/stat.cTias Guns2012-06-101-0/+6
| | | | | | | | patch modified from 'BusyBox Patch V1.0 (Vitaly Greck)' https://code.google.com/p/busybox-android/downloads/detail?name=patch_busybox Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inetd: fix build failure in AndroidTias Guns2012-06-101-0/+1
| | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* brctl: fix build failure by s/strtotimeval/bb_strtotimeval/ (android has ↵Denys Vlasenko2012-06-101-2/+2
| | | | | | | strtotimeval) Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lpr: don't send 0-byte print jobs (compat)Denys Vlasenko2012-06-101-13/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix 256-bit encoded number decodingEtienne Le Sueur2012-06-091-1/+1
| | | | | Signed-off-by: Etienne Le Sueur <elesueur@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix a bug in >${varexp} handling. Closes 5282Denys Vlasenko2012-06-093-10/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: yet another fix on top of zero length match codeDenys Vlasenko2012-06-082-6/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* man: fix handling of gzipped manpagesDenys Vlasenko2012-06-081-10/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix breakage added by zero length match codeDenys Vlasenko2012-06-072-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: code shrinkDenys Vlasenko2012-06-041-13/+15
| | | | | | | function old new delta process_files 2181 2173 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix zero chars match/replaceDenys Vlasenko2012-06-042-24/+50
| | | | | | | function old new delta process_files 2099 2181 +82 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ifplugd: tweak help textDenys Vlasenko2012-06-031-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc[6]: show select timeout in logDenys Vlasenko2012-06-022-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unzip: ignore chmod errorsNatanael Copa2012-05-283-2/+8
| | | | | | | | This makes unzip to FAT filesystems not exit with error. This is similar to how the "normal" unzip works. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: support -J, --xz explicit compression optionBoris Reisig2012-05-241-2/+15
| | | | | | | | | | function old new delta tar_main 868 881 +13 tar_longopts 285 290 +5 packed_usage 29267 29270 +3 Signed-off-by: Boris Reisig <boris@boris.ca> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: fix build failure when only gunzip is selectedAnthony G. Basile2012-05-201-1/+1
| | | | | Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: tell kernel that we didn't find the firmwareChristoph Lohmann2012-05-191-17/+24
| | | | | | | | function old new delta mdev_main 797 801 +4 Signed-off-by: Christoph Lohmann <20h@r-36.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2012-05-194-49/+40
|\
| * tar: implement --no-recursionNatanael Copa2012-05-181-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta tar_longopts 259 274 +15 .rodata 5757 5772 +15 tar_main 1038 1052 +14 writeTarFile 362 353 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 44/-9) Total: 35 bytes text data bss dec hex filename 81457 1706 8344 91507 16573 busybox_old 81477 1706 8344 91527 16587 busybox_unstripped Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mdev: remove undocumented subsystem/devname matching hackDenys Vlasenko2012-05-182-30/+2
| | | | | | | | | | | | | | It was colliding with matching of devnames with slashes. We need a more generic way to examine env.vars in rules anyway. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mdev: when found, print major,minor into mdev.logDenys Vlasenko2012-05-183-12/+26
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | tweak help textDenys Vlasenko2012-05-181-2/+2
|/ | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: add support for $DEVNAME and /dev/mdev.log debug aidDenys Vlasenko2012-05-182-23/+147
| | | | | | | | | | | | | | | function old new delta make_device 1843 2083 +240 mdev_main 712 804 +92 packed_usage 29236 29251 +15 keywords 288 19 -269 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 347/-269) Total: 78 bytes text data bss dec hex filename 887506 497 7584 895587 daa63 busybox_old 887982 497 7584 896063 dac3f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fix in commentDenys Vlasenko2012-05-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id/ext: detect ext4 tooDenys Vlasenko2012-05-181-4/+48
| | | | | | | | function old new delta volume_id_probe_ext 108 132 +24 Signed-off-by: Dees Troy<dees_troy@teamw.in> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: if DESKTOP=y, support -wholename (synonym for -path)Denys Vlasenko2012-05-171-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* examples/mdev_fat.conf: small additionDenys Vlasenko2012-05-161-0/+3
| | | | | | I needed this to make Android's adb see my phone Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* busybox: tweak help text and copyright yearDenys Vlasenko2012-05-141-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix for spurious testsuite failureDenys Vlasenko2012-05-101-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mv: accept but ignore -vSimon B2012-05-061-8/+11
| | | | | | | | function old new delta mv_longopts 36 46 +10 Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkdir,rmdir: accept and ignore -v, --verboseSimon B2012-05-062-4/+7
| | | | | | | | | function old new delta static.rmdir_longopts 38 48 +10 mkdir_longopts 18 28 +10 Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: support long opts and -iSFXSimon B2012-05-061-5/+28
| | | | | | | | | | | | function old new delta static.sed_longopts - 67 +67 sed_main 618 682 +64 packed_usage 29179 29236 +57 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 188/0) Total: 188 bytes Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ln: support -T and -vSimon B2012-05-062-7/+23
| | | | | | | | | function old new delta ln_main 445 524 +79 packed_usage 29182 29179 -3 Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* get_linux_version_code: don't fail on Linux version strints like "3.0-foo"Andreas Oberritter2012-05-051-7/+4
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* udhcpc6: depend on ipv6Mike Frysinger2012-05-021-4/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fix build failure when compressed help is selected, but bz2 compression is notDenys Vlasenko2012-04-291-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sendmail: use host rather than NIS domain name for HELORon Yorston2012-04-283-26/+4
| | | | | | | | | | | | | | According to RFC 5321 the argument to HELO "contains the fully-qualified domain name of the SMTP client" or its IP address if no FQDN is available. BusyBox sendmail uses the NIS domain name instead which, in many cases, is likely to be the default "(none)". [vda: yes, I checked my machine and its uts.domainname was indeed "(none)"] Using the host name is more likely to satisfy the intent of the RFC while allowing the otherwise unused safe_getdomainname function to be removed. Signed-off-by: Ron Yorston <rmy@tigress.co.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lpr: small code shrinkDenys Vlasenko2012-04-271-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: histfile can get emptied when CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=yDennis Groenen2012-04-261-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is set to y, the histfile will get cleared if the total amount of history lines is less than MAX_HISTORY. Only if the histfile is not empty _and_ the amount of lines currently in memory are equal to or greater than MAX_HISTORY, history saving will work as expected with this feature enabled. Output from defconfig + CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y: $ echo "foo" > ~/.ash_history $ ./busybox ash ~/busybox/a $ echo "bar" > /dev/null ~/busybox/a $ exit $ cat ~/.ash_history $ Output with the patch applied and same config as above: $ echo "foo" > ~/.ash_history $ ./busybox ash ~/busybox/b $ echo "bar" > /dev/null ~/busybox/b $ exit $ cat ~/.ash_history foo echo "bar" > /dev/null exit $ Signed-off-by: Dennis Groenen <tj.groenen at gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: remove sighandler_t definition hack, platform.h has it tooDenys Vlasenko2012-04-261-4/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getty: fix for NOCTTY killing us with SIGHUPDenys Vlasenko2012-04-261-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: slightly better fix for prev commit's problemDenys Vlasenko2012-04-241-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>