aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cp: fix -H handlingDenys Vlasenko2010-01-151-10/+6
| | | | | | | function old new delta copy_file 1495 1518 +23 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: revert a recent buggy change, and add a comment why it's wrongDenys Vlasenko2009-10-081-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: add support for --parents and long option synonyms of short optsDenys Vlasenko2009-09-261-14/+52
| | | | | | | | | | | | | | By Ian Wienand (ianw AT vmware.com) function old new delta cp_main 257 369 +112 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 112/0) Total: 112 bytes text data bss dec hex filename 823000 458 6948 830406 cabc6 busybox_old 823283 458 6948 830689 cace1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cd: "support" -v by ignoring itDenis Vlasenko2009-03-201-1/+49
|
* cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko2008-04-271-10/+12
|
* build system: use POSIX options only for cpDenis Vlasenko2008-04-111-1/+1
| | | | | cp: improve comment
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* cp: -r and -R imply -d (coreutils compat)Denis Vlasenko2007-09-251-1/+2
|
* *: 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
* make copy_file() a bit easier to understand, and smallerDenis Vlasenko2007-08-251-1/+0
| | | | | | | | | | | function old new delta copy_file 1565 1447 -118 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-118) Total: -118 bytes text data bss dec hex filename 770938 1063 10788 782789 bf1c5 busybox_old 770814 1063 10788 782665 bf149 busybox_unstripped
* cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko2007-08-241-14/+16
|
* 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
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-0/+3
| | | | | Put big scary warnings in relevant places.
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-201-1/+1
|
* selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko2007-03-101-0/+7
|
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* cp: add support for -s, -l. Fix free(nonmalloc) bug.Denis Vlasenko2006-10-211-45/+27
| | | | | Add doc on POSIX's rules on -i and -f (insane!). ln: make "ln dangling_symlink new_link" work.
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | 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.
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer2006-04-021-1/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Fix cp /dev/null filename, and a few in-passing cleanups.Rob Landley2005-11-011-25/+2
|
* fake out support for POSIX -H and -L options since busybox cp dereferences ↵Mike Frysinger2005-04-141-5/+13
| | | | everything by default
* cp: make -P a synonym for -dMike Frysinger2005-01-071-1/+7
|
* Add the -r option as a synonym of -RGlenn L McGrath2004-01-251-1/+8
|
* Major coreutils update.Manuel Novoa III2003-03-191-66/+64
|
* Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.Matt Kraai2001-10-051-4/+4
|
* Use generic flag names.Matt Kraai2001-04-241-9/+9
|
* Rewrite cp and mv to be SUSv2 compliant.Matt Kraai2001-04-231-0/+114
|
* A few minor updates. ;-)Erik Andersen2000-02-071-127/+0
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* Fix cp and mv so 'cp foo/README bar' where foo and bar are directories,Erik Andersen2000-01-081-1/+6
| | | | | and README is a file. -Erik
* Bunches of fixes. Typos, bugs, etc.Erik Andersen2000-01-041-1/+1
| | | | | | Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik
* Fixed mv so it now does the right thing (same method used in cp). RemovedErik Andersen1999-12-291-8/+1
| | | | | some cruft from cp. -Erik
* Fixed cp so it works as God intended it to.Erik Andersen1999-12-291-14/+26
| | | | -Erik
* StufEric Andersen1999-11-161-0/+2
|
* Updates to usage, and made tar work.Eric Andersen1999-11-101-1/+1
| | | | -Erik
* Fixed up copyright notices and suchEric Andersen1999-10-201-1/+3
|
* Added sfdisk. Ststic-ified a bunch of stuff.Eric Andersen1999-10-191-1/+1
|
* More stuff.Eric Andersen1999-10-181-4/+2
| | | | -Erik
* More fixesEric Andersen1999-10-181-4/+6
|
* Some fixes and suchEric Andersen1999-10-171-6/+8
|
* Fixed cp -[aR] and some other stuf.Eric Andersen1999-10-141-4/+8
|
* More stuffEric Andersen1999-10-131-34/+0
|
* Latest and greatest.Eric Andersen1999-10-121-5/+5
| | | | -Erik
* More stuff.Eric Andersen1999-10-091-77/+129
|
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+89