aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-148-46/+34
|\ | | | | | | | | | | Conflicts: include/libbb.h libbb/messages.c
| * better shared strings trickDenys Vlasenko2010-09-018-43/+33
| | | | | | | | | | | | | | | | text data bss dec hex filename 861980 441 7540 869961 d4649 busybox_old 861914 441 7540 869895 d4607 busybox_unstripped Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-14582-866/+1502
|\|
| * getty: small code shrinkDenys Vlasenko2010-09-011-9/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * find: add rudimentary support for -exec {} +Denys Vlasenko2010-08-311-10/+14
| | | | | | | | | | | | | | function old new delta parse_params 1421 1414 -7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * base64: new appletDenys Vlasenko2010-08-312-6/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta base64_main - 217 +217 packed_usage 27181 27229 +48 read_base64 348 373 +25 applet_names 2299 2306 +7 bbconfig_config_bz2 4942 4948 +6 applet_main 1352 1356 +4 applet_nameofs 676 678 +2 applet_install_loc 169 170 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/0 up/down: 310/0) Total: 310 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * libbb: add xfstat functionDenys Vlasenko2010-08-3113-21/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xfstat - 25 +25 mkfs_ext2_main 2421 2423 +2 mkfs_reiser_main 1197 1194 -3 next 312 307 -5 ar_main 533 522 -11 mkfs_minix_main 2938 2924 -14 mkfs_vfat_main 1511 1495 -16 writeTarFile 272 255 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/6 up/down: 27/-66) Total: -39 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * mkswap: clear 1st kilobyte. Closes bug 1831Denys Vlasenko2010-08-311-2/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * iplink: another compat #ifndef/#define tweakDenys Vlasenko2010-08-301-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ash: small code shrink (-21 bytes)Denys Vlasenko2010-08-301-9/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * ash: add another ${v/a/b} test we currently failDenys Vlasenko2010-08-302-0/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * typo fix in commentDenys Vlasenko2010-08-301-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove stray debugging stuffDenys Vlasenko2010-08-291-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bbconfig: add COMPRESS_BBCONFIG optionDenys Vlasenko2010-08-295-9/+70
| | | | | | | | | | | | | | | | | | | | | | function old new delta bbconfig_config_bz2 - 4905 +4905 bbconfig_main 13 70 +57 bbconfig_config 21811 - -21811 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 4962/-21811) Total: -16849 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nandwrite: always check the first erase blockBaruch Siach2010-08-291-2/+14
| | | | | | | | | | | | | | | | Current code does not check the first erase block when mtdoffset is not erase block aligned. Fix this. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nandwrite: complain on malformed -s NUMDenys Vlasenko2010-08-295-6/+8
| | | | | | | | | | | | Elsewhere: use common error message. -30 bytes net size change Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nandwrite: allow hex values in the -s parameterBaruch Siach2010-08-291-1/+1
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * showkey: code shrinkDenys Vlasenko2010-08-291-16/+16
| | | | | | | | | | | | | | | | | | function old new delta signal_handler 52 45 -7 showkey_main 461 454 -7 xset1 40 29 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * testsuite: show the number of failures after a test runDan Fandrich2010-08-294-2/+21
| | | | | | | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixes in config help textDenys Vlasenko2010-08-291-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * pmap: new applet. +1k.Alexander Shishkin2010-08-284-67/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pmap is a tool used to look at processes' memory maps, normally found in procps package. It provides more readable and easily sortable output (one line per mapping) from maps/smaps files in /proc/PID/. This would help in debugging memory usage issues, especially on devices where lots of typing is not a viable option. This patch does'n implement -d and -A command line options of GNU pmap, since those are not that must have features and I was afraid of going blind from looking at its code. The implementation takes smaps scanning part out of procps_scan() function and moves it into procps_read_smaps(), which does more detailed processing of a single PID's smaps data. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ntpd: with -q, exit after 60 seconds even if time is not synced.Denys Vlasenko2010-08-271-3/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modutils: explain why we no longer quote paramsDenys Vlasenko2010-08-251-0/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * insmod: Do not add a pair of "" around the arguments of the module.Carmelo AMOROSO2010-08-251-2/+1
| | | | | | | | | | | | | | | | | | | | If there are some spaces in the insmod command line, then this will be splitted in single words as separate elements of argv. It just needs to chain them together in the options string passed to the sys_init_module syscall. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * nandwrite: new appletBaruch Siach2010-08-251-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta nandwrite_main - 382 +382 packed_usage 27119 27135 +16 applet_names 2275 2285 +10 applet_main 1340 1344 +4 applet_nameofs 670 672 +2 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/0 up/down: 414/0) Total: 414 bytes Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * Rename a struct member from "interrupt"Dan Fandrich2010-08-241-5/+5
| | | | | | | | | | | | | | This is nonstandard, but common, keyword in embedded compilers. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * split: use xopen_stdin()Denys Vlasenko2010-08-231-3/+1
| | | | | | | | | | | | | | function old new delta split_main 558 543 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: fix -o match with empty string (suggested by Colin Watson ↵Denys Vlasenko2010-08-232-3/+11
| | | | | | | | | | | | | | | | | | <cjwatson@ubuntu.com>) function old new delta grep_file 1216 1251 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ip: add a #define for older kernelsDenys Vlasenko2010-08-221-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: make 3.82 fix. Closes bug 2323Denys Vlasenko2010-08-221-2/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * patch: support "patch [FILE [PATCH]]" formatDenys Vlasenko2010-08-224-12/+56
| | | | | | | | | | | | | | | | function old new delta xopen_stdin - 15 +15 patch_main 2075 2041 -34 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: fix fallout from last patch to obscure() (my mistake). +143 bytesDenys Vlasenko2010-08-171-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: shrink obscure()Bob Dunlop2010-08-171-33/+45
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta string_checker_helper 59 45 -14 string_checker 116 98 -18 obscure 367 204 -163 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-195) Total: -195 bytes Signed-off-by: Bob Dunlop <bob.dunlop@xyzzy.org.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * patch: fix -N regressionDenys Vlasenko2010-08-171-5/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nmeter: fix misplaced closing commentDenys Vlasenko2010-08-161-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-16570-630/+628
| | | | | | | | | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sed: make N command behave as in GNU sedDenys Vlasenko2010-08-162-6/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mdev: fix non-working device deletion, add a test for thatDenys Vlasenko2010-08-162-2/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-14/+20
|\| | | | | | | | | Conflicts: include/platform.h
| * platform.h: regularize endian detectionDenys Vlasenko2010-08-161-15/+20
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-1426-105/+133
|\|
| * *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-1622-22/+22
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * patch: uncomment the test which we actually do pass nowDenys Vlasenko2010-08-161-4/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: factor out common code from mpstat/iostatDenys Vlasenko2010-08-165-66/+56
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * patch: add -N and a test for it (fails for now)Denys Vlasenko2010-08-162-3/+30
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * patch: move closer to toybox codeDenys Vlasenko2010-08-131-4/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * patch: deal with ommitted ",len" in hunk headers (default len to 1)Rob Landley2010-08-131-7/+13
| | | | | | | | | | Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-145-342/+969
|\| | | | | | | | | | | | | WIP changes in patch.c are reverted back to upstream Conflicts: editors/patch.c
| * patch: replace it with toybox's implementationRob Landley2010-08-135-342/+969
| | | | | | | | | | Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-1450-225/+990
|\|