aboutsummaryrefslogtreecommitdiff
path: root/coreutils/rm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | 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>
* *: use "can't" instead of "cannot"Denys Vlasenko2009-11-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: warning fixDenis Vlasenko2009-03-271-2/+3
| | | | | rm: accept and ignore -v (verbose)
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* *: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko2007-09-241-1/+1
| | | | | | | | | (one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (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
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* teach find_root_device to deal with /dev/ subdirsDenis Vlasenko2007-04-131-1/+1
| | | | (by "Kirill K. Smirnov" <lich@math.spbu.ru>)
* style fixes. No code changesDenis Vlasenko2007-04-121-3/+3
|
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-3/+5
| | | | | Put big scary warnings in relevant places.
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-3/+3
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-15/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-051-1/+1
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* last_patch89 from vodz:Eric Andersen2003-06-201-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
* Major coreutils update.Manuel Novoa III2003-03-191-36/+31
|
* Add some missing includes to kill warnings when building with the defaultManuel Novoa III2001-06-291-0/+1
| | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
* Rewrote rm.Matt Kraai2001-04-241-93/+31
|
* Vladimir's patch to reverse previous patchGlenn L McGrath2001-04-111-6/+6
|
* Simpify detection of no options.Eric Andersen2001-03-191-1/+1
|
* Should exclude "i" option when not enabled.Eric Andersen2001-03-191-1/+1
|
* Doesn't need a "-" option -- getopt does that for us.Eric Andersen2001-03-191-4/+0
|
* Patch from Vladimir to force interactiveFlag=FALSE when forceFlag=TRUEEric Andersen2001-03-191-3/+5
|
* getopt-ify rm so that BB_FEATURE_RM_INTERACTIVE will workEric Andersen2001-03-191-34/+32
|
* Credited Christophe Boyaniqu for interactive patch to rm.Mark Whitley2001-03-131-0/+4
|
* Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley2001-03-131-0/+25
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+2
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-4/+4
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Use perrorMsg instead of perror and keep removing files if we encounterMatt Kraai2000-12-051-5/+6
| | | | an error.
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-2/+2
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Only remove directories when removing recursively.Matt Kraai2000-09-201-0/+5
|
* Extract usage information into a separate file.Matt Kraai2000-07-161-11/+0
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Fixed "rm foo" that had been broken while implementing "rm -- foo"Pavel Roskin2000-06-141-6/+11
|
* Fixed a bunch of stuff:Eric Andersen2000-06-061-16/+21
| | | | | | | | | | * Fixed segfault caused by "touch -c" * Fixed segfault caused by "rm -f" * Fixed segfault caused by "ln -s -s" and similar abuses. * Fixed segfault caused by "cp -a -a" and similar abuses. * Implemented "rm -- <foo>" updated docs accordingly. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-4/+6
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-1/+1
| | | | -Erik
* Yet another installment in the ongoing tar sagaErik Andersen2000-03-281-3/+3
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-50/+52
| | | | -Erik
* StufEric Andersen1999-11-191-2/+3
|
* UpdatesEric Andersen1999-11-151-3/+10
|
* Updates to usage, and made tar work.Eric Andersen1999-11-101-1/+2
| | | | -Erik