aboutsummaryrefslogtreecommitdiff
path: root/findutils
Commit message (Collapse)AuthorAgeFilesLines
* find: add -iname support (Alexander Griesser <alexander.griesser@lkh-vil.or.at>)Gravatar Denis Vlasenko2007-12-091-3/+7
|
* grep: fix -FoGravatar Denis Vlasenko2007-11-041-3/+10
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-113-3/+3
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Gravatar Denis Vlasenko2007-10-013-6/+6
| | | | | 263 bytes saved.
* grep: delete obsolete commentGravatar Denis Vlasenko2007-09-101-7/+1
|
* grep: fix grep -F -e str1 -e str2 (was matching str2 only)Gravatar 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 pointsGravatar Paul Fox2007-09-061-2/+4
| | | | on the command line, e.g. "find / /boot -xdev".
* *: compile fixes for 64-bit buildGravatar Denis Vlasenko2007-08-231-1/+3
|
* don't pass argc in getopt32, it's superfluousGravatar Denis 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 warningGravatar Denis Vlasenko2007-08-161-1/+2
|
* httpd: round down sendfile byte count to 64kGravatar Denis Vlasenko2007-08-131-3/+3
| | | | | *: style fixes
* trylink: produce even more info about final link stageGravatar Denis 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_multGravatar Denis 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,Gravatar 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 textGravatar Denis 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 printingGravatar Denis 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 configsGravatar Denis Vlasenko2007-07-011-2/+3
| | | | | (found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
* find: style fixGravatar Denis Vlasenko2007-07-011-6/+6
|
* introduce and use bb_basename()Gravatar 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>)Gravatar 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 findGravatar Denis Vlasenko2007-06-162-3/+35
|
* find: add conditional support for -maxdepth and -regexGravatar Denis 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.Gravatar Denis Vlasenko2007-06-081-16/+16
| | | | | (Maxime Bizon <mbizon@freebox.fr> (Freebox))
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-263-3/+3
| | | | | *: s/include "busybox.h"/include "libbb.h"
* xargs: simplify word list managementGravatar Denis Vlasenko2007-04-151-29/+25
|
* hush: use NOFORK applets as appropriate. Net reduction of code size.Gravatar Denis Vlasenko2007-04-141-1/+3
|
* find: add support for -delete, -path (by Natanael Copa)Gravatar Denis Vlasenko2007-04-132-0/+60
|
* make sure we free the grep data as wellGravatar Mike Frysinger2007-04-121-0/+1
|
* style fixes. No code changesGravatar Denis Vlasenko2007-04-121-1/+1
|
* xargs: fix my brain fart (resulted in memory leak)Gravatar Denis Vlasenko2007-04-101-7/+6
|
* audit small applets and mark some of them as NOFORK.Gravatar Denis Vlasenko2007-04-102-0/+6
| | | | | Put big scary warnings in relevant places.
* factor out NOFORK/NOEXEC code from find. Use it for xargs too.Gravatar Denis Vlasenko2007-04-092-50/+17
|
* xargs: shrink code, ~80 bytesGravatar Denis Vlasenko2007-04-091-75/+77
| | | | applets.h: +#undef APPLET_NOEXEC
* Implement first instance of NOFORK applet - echoGravatar Denis Vlasenko2007-04-091-2/+23
| | | | | | | | | find: use NOFORK/NOEXEC; small -exec buglet also eliminated vfork_daemon_rexec: honor PREFER_APPLETS echo: small size improvements find -exec echo {} \; with PREFER_APPLETS=y runs 4 times faster
* find: fix -prune more. Add big comment about it.Gravatar Denis Vlasenko2007-04-081-7/+21
|
* find: fix handling of -pruneGravatar Denis Vlasenko2007-04-082-32/+42
| | | | recursive_actions: uppercase flag constants
* - size and prune were mixed upGravatar Bernhard Reutner-Fischer2007-04-051-6/+6
|
* find: missed 'ststic' on const dataGravatar Denis Vlasenko2007-04-051-5/+6
|
* find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)Gravatar Denis Vlasenko2007-04-042-115/+155
| | | | | find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>) find: make constant array static, declare PARM_xx constants with enum
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Gravatar Bernhard Reutner-Fischer2007-04-041-1/+1
|
* - use index_in_str_array also for find_mainGravatar Bernhard Reutner-Fischer2007-03-291-2/+8
| | | | | | text data bss dec hex filename 2605 1 12 2618 a3a find.o.r18274 2602 1 12 2615 a37 find.o.r18275
* - remove bloated switch statement.Gravatar Bernhard Reutner-Fischer2007-03-291-17/+8
| | | | | | text data bss dec hex filename 2706 1 12 2719 a9f find.o.r18273 2605 1 12 2618 a3a find.o.r18274
* - implement a TODO: Use index_in_str_array in parse_paramsGravatar Bernhard Reutner-Fischer2007-03-291-40/+118
| | | | | | | text data bss dec hex filename 2771 1 12 2784 ae0 find.o.r18272 2749 1 12 2762 aca find.o.-try-switch 2706 1 12 2719 a9f find.o.r18273
* - Purely cosmetic type fiddlingGravatar Bernhard Reutner-Fischer2007-03-291-15/+14
|
* - fold recurse, depthFirst and dereference params into one param flags.Gravatar Bernhard Reutner-Fischer2007-03-292-11/+9
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* grep: "implement" -a and -I by ignoring themGravatar Denis Vlasenko2007-02-251-0/+3
|
* grep: implement -wGravatar Denis Vlasenko2007-02-251-76/+96
|
* ash: replace xstrdup (shell shall not die)Gravatar Denis Vlasenko2007-02-251-52/+52
| | | | grep: fix mis-indented block
* find: fix -not supportGravatar Denis Vlasenko2007-02-061-3/+3
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Gravatar Denis Vlasenko2007-02-061-1/+1
|