summaryrefslogtreecommitdiff
path: root/findutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apply post-1.12.0 fixes, bump version to 1.12.11_12_1Denis Vlasenko2008-09-281-1/+35
|
* grep: option to use GNU regex matching instead of POSIX one.Denis Vlasenko2008-08-091-28/+101
| | | | | | This fixes problems with NULs in files being scanned, but costs +800 bytes. The same can be done to sed (TODO).
* xargs: fix -e default to match newer GNU xargs, add SUS mandated -E.Denis Vlasenko2008-08-041-15/+17
| | | | | closes bug 4414
* xargs: fix xargs -e; added test for thatDenis Vlasenko2008-08-031-1/+7
|
* - wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-221-2/+2
| | | | - s/\. /. /g;# (me)
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-053-8/+8
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-272-2/+2
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* whitespace fixes. no code changesDenis Vlasenko2008-06-251-6/+5
|
* *: use llist_pop for traverse-and-free list operationDenis Vlasenko2008-06-151-1/+1
| | | | | | | | | | | | | | | | | | function old new delta append_file_list_to_list 109 111 +2 udhcpc_main 2414 2413 -1 run_parts_main 325 324 -1 od_main 2324 2323 -1 getopt_main 709 707 -2 env_main 253 251 -2 sed_main 659 656 -3 ps_main 522 519 -3 traceroute_main 3960 3954 -6 sort_main 844 838 -6 diff_main 866 858 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/10 up/down: 2/-33) Total: -31 bytes
* grep: make "-f -" work (+ testsuite)Denis Vlasenko2008-06-071-6/+6
| | | | | | | | | | | diff: small code shrink function old new delta grep_main 722 714 -8 diffreg 1825 1793 -32 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-40) Total: -40 bytes
* find: beautify config prompts a bitDenis Vlasenko2008-05-281-12/+12
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-192-3/+3
|
* more -Wall warning fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-131-1/+1
| | | | | | | | | | | | | This time it resulted in small code changes: function old new delta nexpr 820 828 +8 tail_main 1200 1202 +2 wrapf 166 167 +1 parse_mount_options 227 209 -18 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 11/-18) Total: -7 bytes
* *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/Denis Vlasenko2008-03-261-2/+2
|
* gcc compat fix and warning suppressionDenis Vlasenko2008-03-201-1/+4
| | | | | by Joe Krahn <krahn AT niehs.nih.gov>
* *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param)Denis Vlasenko2008-03-171-27/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta getopt32 1370 1385 +15 sulogin_main 490 494 +4 realpath_main 84 86 +2 sleep_main 76 77 +1 mt_main 256 257 +1 printenv_main 75 74 -1 fdformat_main 546 545 -1 usleep_main 44 42 -2 setlogcons_main 77 75 -2 ed_main 2654 2649 -5 deallocvt_main 69 64 -5 addgroup_main 373 368 -5 mkfs_minix_main 2989 2982 -7 tail_main 1221 1213 -8 sv_main 1254 1241 -13 du_main 348 328 -20 tftp_main 325 302 -23 split_main 581 558 -23 nc_main 1000 977 -23 diff_main 891 868 -23 arping_main 1797 1770 -27 ls_main 893 847 -46 od_main 2797 2750 -47 readprofile_main 1944 1895 -49 tcpudpsvd_main 1973 1922 -51 udhcpc_main 2590 2513 -77 grep_main 824 722 -102 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 5/22 up/down: 23/-560) Total: -537 bytes text data bss dec hex filename 796973 658 7428 805059 c48c3 busybox_old 796479 662 7420 804561 c46d1 busybox_unstripped
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-1/+4
| | | | | | | | | | | | | | | | | | function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-172-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* - spelling fixesBernhard Reutner-Fischer2008-02-111-1/+1
|
* grep: fix wrong filename in error messageDenis Vlasenko2008-01-241-1/+1
|
* find: add -iname support (Alexander Griesser <alexander.griesser@lkh-vil.or.at>)Denis Vlasenko2007-12-091-3/+7
|
* grep: fix -FoDenis Vlasenko2007-11-041-3/+10
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-113-3/+3
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko2007-10-013-6/+6
| | | | | 263 bytes saved.
* grep: delete obsolete commentDenis Vlasenko2007-09-101-7/+1
|
* grep: fix grep -F -e str1 -e str2 (was matching str2 only)Denis Vlasenko2007-09-101-37/+61
| | | | | | | | by replacing "=" by "|=" here: found |= strstr(line, gl->pattern) != NULL; grep: optimization: stop on first -e match grep: stop using bss. -40 bytes
* fix -xdev behavior in the presence of two or more nested mount pointsPaul Fox2007-09-061-2/+4
| | | | on the command line, e.g. "find / /boot -xdev".
* *: compile fixes for 64-bit buildDenis Vlasenko2007-08-231-1/+3
|
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-182-3/+3
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* find: fix SELinux-related warningDenis Vlasenko2007-08-161-1/+2
|
* httpd: round down sendfile byte count to 64kDenis Vlasenko2007-08-131-3/+3
| | | | | *: style fixes
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-2/+2
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko2007-07-271-2/+2
| | | | | | | | | | | | function old new delta xstrtoul_range_sfx 226 217 -9 xstrtoull_range_sfx 291 280 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-20) Total: -20 bytes text data bss dec hex filename 669128 2668 13616 685412 a7564 busybox_old 669108 2668 13616 685392 a7550 busybox_unstripped
* Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko2007-07-241-39/+37
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* grep: implement -m MAX_MATCHES; fix help textDenis Vlasenko2007-07-151-37/+46
| | | | | | | | | | | grep_file 771 822 +51 packed_usage 22573 22610 +37 .rodata 128058 128090 +32 grep_main 842 853 +11 max_matches - 4 +4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 135/0) Total: 135 bytes
* grep: fix buglets with context printingDenis Vlasenko2007-07-151-28/+42
| | | | | | | | | | | | print_line 152 170 +18 did_print_line - 1 +1 grep_file 788 771 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 19/-17) Total: 2 bytes text data bss dec hex filename 673368 2740 13968 690076 a879c busybox_old 673368 2740 13968 690076 a879c busybox_unstripped
* find: fix build failure on certain configsDenis Vlasenko2007-07-011-2/+3
| | | | | (found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* find: style fixDenis Vlasenko2007-07-011-6/+6
|
* introduce and use bb_basename()Denis Vlasenko2007-06-301-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped
* find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)Denis Vlasenko2007-06-192-163/+189
| | | | | | | | | | | find: make it a bit smaller function old new delta .rodata 129018 129050 +32 parse_params 1509 1346 -163 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 32/-163) Total: -131 bytes
* find: make -size match GNU findDenis Vlasenko2007-06-162-3/+35
|
* find: add conditional support for -maxdepth and -regexDenis Vlasenko2007-06-152-52/+115
| | | | | | | | | | | | | | | | | (needed for Linux 2.6.22-rc4 build) -maxdepth: # size busybox_old busybox_unstripped text data bss dec hex filename 675622 2792 15728 694142 a977e busybox_old 675770 2792 15728 694290 a9812 busybox_unstripped -regex: # size busybox_old busybox_unstripped text data bss dec hex filename 675770 2792 15728 694290 a9812 busybox_old 675894 2792 15728 694414 a988e busybox_unstripped
* grep: selection done by FEATURE_GREP_EGREP_ALIAS was broken, fix.Denis Vlasenko2007-06-081-16/+16
| | | | | (Maxime Bizon <mbizon@freebox.fr> (Freebox))
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-263-3/+3
| | | | | *: s/include "busybox.h"/include "libbb.h"
* xargs: simplify word list managementDenis Vlasenko2007-04-151-29/+25
|
* hush: use NOFORK applets as appropriate. Net reduction of code size.Denis Vlasenko2007-04-141-1/+3
|
* find: add support for -delete, -path (by Natanael Copa)Denis Vlasenko2007-04-132-0/+60
|
* make sure we free the grep data as wellMike Frysinger2007-04-121-0/+1
|
* style fixes. No code changesDenis Vlasenko2007-04-121-1/+1
|