aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
AgeCommit message (Collapse)Author
2008-03-20gcc compat fix and warning suppressionDenis Vlasenko
by Joe Krahn <krahn AT niehs.nih.gov>
2008-03-17*: fix fallout from -Wunused-parameterDenis Vlasenko
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
2008-03-17*: add -Wunused-parameter; fix resulting breakageDenis Vlasenko
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
2007-12-09find: add -iname support (Alexander Griesser <alexander.griesser@lkh-vil.or.at>)Denis Vlasenko
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-01'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko
263 bytes saved.
2007-09-06fix -xdev behavior in the presence of two or more nested mount pointsPaul Fox
on the command line, e.g. "find / /boot -xdev".
2007-08-23*: compile fixes for 64-bit buildDenis Vlasenko
2007-08-16find: fix SELinux-related warningDenis Vlasenko
2007-08-13httpd: round down sendfile byte count to 64kDenis Vlasenko
*: style fixes
2007-08-12trylink: produce even more info about final link stageDenis Vlasenko
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
2007-07-27multiplier suffixes are short, store them directly in struct suffix_multDenis Vlasenko
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
2007-07-24Replace index_in_[sub]str_array with index_in_[sub]strings,Denis Vlasenko
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
2007-07-01find: fix build failure on certain configsDenis Vlasenko
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
2007-07-01find: style fixDenis Vlasenko
2007-06-30introduce and use bb_basename()Denis Vlasenko
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
2007-06-19find: -context support for SELinux (KaiGai Kohei <kaigai@kaigai.gr.jp>)Denis Vlasenko
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
2007-06-16find: make -size match GNU findDenis Vlasenko
2007-06-15find: add conditional support for -maxdepth and -regexDenis Vlasenko
(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
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-13find: add support for -delete, -path (by Natanael Copa)Denis Vlasenko
2007-04-10audit small applets and mark some of them as NOFORK.Denis Vlasenko
Put big scary warnings in relevant places.
2007-04-09factor out NOFORK/NOEXEC code from find. Use it for xargs too.Denis Vlasenko
2007-04-09Implement first instance of NOFORK applet - echoDenis Vlasenko
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
2007-04-08find: fix -prune more. Add big comment about it.Denis Vlasenko
2007-04-08find: fix handling of -pruneDenis Vlasenko
recursive_actions: uppercase flag constants
2007-04-05- size and prune were mixed upBernhard Reutner-Fischer
2007-04-05find: missed 'ststic' on const dataDenis Vlasenko
2007-04-04find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)Denis Vlasenko
find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>) find: make constant array static, declare PARM_xx constants with enum
2007-03-29- use index_in_str_array also for find_mainBernhard Reutner-Fischer
text data bss dec hex filename 2605 1 12 2618 a3a find.o.r18274 2602 1 12 2615 a37 find.o.r18275
2007-03-29- remove bloated switch statement.Bernhard Reutner-Fischer
text data bss dec hex filename 2706 1 12 2719 a9f find.o.r18273 2605 1 12 2618 a3a find.o.r18274
2007-03-29- implement a TODO: Use index_in_str_array in parse_paramsBernhard Reutner-Fischer
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
2007-03-29- Purely cosmetic type fiddlingBernhard Reutner-Fischer
2007-03-29- fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
2007-02-06find: fix -not supportDenis Vlasenko
2007-02-04find: support for !Denis Vlasenko
2007-02-04- strip 12 bytes off by using a smaller type for need_print.Bernhard Reutner-Fischer
- add TODO to switch this applet to index_in_str_array()
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-02-03assorted fixes for bugs found with randomconfigDenis Vlasenko
2007-02-02find -user support by Natanael Copa <natanael.copa@gmail.com>Denis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #4Denis Vlasenko
2007-01-27fix warning in find.cDenis Vlasenko
2007-01-26find: fix -mtime, -mmin, -perm (+ add symbolic perm handling)Denis Vlasenko
chmod: better name for a variable
2007-01-22fix warning from needlessly-global functionsDenis Vlasenko
2007-01-03find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)Denis Vlasenko
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-23sum: 40% size reduction (-300 bytes)Denis Vlasenko
find: one_char -> LONE_CHAR
2006-12-23find: fix spurious -exec error messagesDenis Vlasenko
(bug reported by Bernhard Fischer <rep.nop@aon.at>)
2006-12-12build system: add "release" targetDenis Vlasenko
find: support -size N (needed for above)
2006-11-01mostly style fixesDenis Vlasenko