aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-191-163/+182
| | | | | | | | | | | 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-161-2/+34
|
* find: add conditional support for -maxdepth and -regexDenis Vlasenko2007-06-151-49/+99
| | | | | | | | | | | | | | | | | (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
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* find: add support for -delete, -path (by Natanael Copa)Denis Vlasenko2007-04-131-0/+44
|
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-0/+3
| | | | | Put big scary warnings in relevant places.
* factor out NOFORK/NOEXEC code from find. Use it for xargs too.Denis Vlasenko2007-04-091-25/+7
|
* Implement first instance of NOFORK applet - echoDenis 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.Denis Vlasenko2007-04-081-7/+21
|
* find: fix handling of -pruneDenis Vlasenko2007-04-081-29/+39
| | | | recursive_actions: uppercase flag constants
* - size and prune were mixed upBernhard Reutner-Fischer2007-04-051-6/+6
|
* find: missed 'ststic' on const dataDenis Vlasenko2007-04-051-5/+6
|
* find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)Denis Vlasenko2007-04-041-112/+116
| | | | | find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>) find: make constant array static, declare PARM_xx constants with enum
* - use index_in_str_array also for find_mainBernhard 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.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_paramsBernhard 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 fiddlingBernhard Reutner-Fischer2007-03-291-15/+14
|
* - fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer2007-03-291-8/+6
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* find: fix -not supportDenis Vlasenko2007-02-061-3/+3
|
* find: support for !Denis Vlasenko2007-02-041-8/+37
|
* - strip 12 bytes off by using a smaller type for need_print.Bernhard Reutner-Fischer2007-02-041-8/+9
| | | | - add TODO to switch this applet to index_in_str_array()
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* assorted fixes for bugs found with randomconfigDenis Vlasenko2007-02-031-1/+4
|
* find -user support by Natanael Copa <natanael.copa@gmail.com>Denis Vlasenko2007-02-021-0/+19
|
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-4/+4
|
* fix warning in find.cDenis Vlasenko2007-01-271-4/+4
|
* find: fix -mtime, -mmin, -perm (+ add symbolic perm handling)Denis Vlasenko2007-01-261-27/+40
| | | | chmod: better name for a variable
* fix warning from needlessly-global functionsDenis Vlasenko2007-01-221-1/+1
|
* find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)Denis Vlasenko2007-01-031-2/+3
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-1/+3
|
* sum: 40% size reduction (-300 bytes)Denis Vlasenko2006-12-231-10/+5
| | | | find: one_char -> LONE_CHAR
* find: fix spurious -exec error messagesDenis Vlasenko2006-12-231-2/+1
| | | | (bug reported by Bernhard Fischer <rep.nop@aon.at>)
* build system: add "release" targetDenis Vlasenko2006-12-121-0/+14
| | | | find: support -size N (needed for above)
* mostly style fixesDenis Vlasenko2006-11-011-29/+29
|
* find: -type T was actually meaning ! -type T!Denis Vlasenko2006-10-311-1/+1
| | | | With this fix, "make mrproper" works correctly
* find: implement -prune. "make clean" now works! :)Denis Vlasenko2006-10-311-3/+21
|
* find: fix implicit -print (sometime differed from standard)Denis Vlasenko2006-10-311-3/+11
|
* find: implement ( )Denis Vlasenko2006-10-301-96/+169
|
* find: a lot more compliant to 'standard' findDenis Vlasenko2006-10-291-173/+260
| | | | | (we were not respecting order of actions!). Add -o and -a handling.
* find: small improvementDenis Vlasenko2006-10-291-11/+15
|
* find: fix -exec to work like stock find does.Denis Vlasenko2006-10-291-98/+155
|
* recursive_action: add depth paramDenis Vlasenko2006-10-271-3/+3
| | | | chmod: match coreutils versus following links
* grep: add support for -rDenis Vlasenko2006-10-141-26/+26
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-27/+18
|
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-221-1/+1
| | | | Erik or I are primary copyright holders on.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-12/+5
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-18/+14
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-15/+2
| | | | and eventual platform specific includes in early.