aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cp.c
AgeCommit message (Collapse)Author
2008-04-27cp: fix "cp -RL" to create regular files even if src is a symlinkDenis Vlasenko
2008-04-11build system: use POSIX options only for cpDenis Vlasenko
cp: improve comment
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-09-25cp: -r and -R imply -d (coreutils compat)Denis Vlasenko
2007-09-24*: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko
(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
2007-08-25make copy_file() a bit easier to understand, and smallerDenis Vlasenko
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
2007-08-24cp,mv: simpler arg[cv] handling -> smallish code savingsDenis Vlasenko
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(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
2007-07-21libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko
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
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-10audit small applets and mark some of them as NOFORK.Denis Vlasenko
Put big scary warnings in relevant places.
2007-03-20fix accumulated whitespace and indentation damageDenis Vlasenko
2007-03-10selinux support by Yuichi Nakamura <ynakam@hitachisoft.jp> (HitachiSoft)Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2006-10-21cp: add support for -s, -l. Fix free(nonmalloc) bug.Denis Vlasenko
Add doc on POSIX's rules on -i and -f (insane!). ln: make "ln dangling_symlink new_link" work.
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
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.
2006-09-17whitespace cleanupDenis Vlasenko
2006-04-02- typos: s/compatability/compatibility/g;s/compatable/compatible/g;Bernhard Reutner-Fischer
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-11-01Fix cp /dev/null filename, and a few in-passing cleanups.Rob Landley
2005-04-14fake out support for POSIX -H and -L options since busybox cp dereferences ↵Mike Frysinger
everything by default
2005-01-07cp: make -P a synonym for -dMike Frysinger
2004-01-25Add the -r option as a synonym of -RGlenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2001-10-05Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.Matt Kraai
2001-04-24Use generic flag names.Matt Kraai
2001-04-23Rewrite cp and mv to be SUSv2 compliant.Matt Kraai
2000-02-07A few minor updates. ;-)Erik Andersen
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
2000-01-08Fix cp and mv so 'cp foo/README bar' where foo and bar are directories,Erik Andersen
and README is a file. -Erik
2000-01-04Bunches of fixes. Typos, bugs, etc.Erik Andersen
Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik
1999-12-29Fixed mv so it now does the right thing (same method used in cp). RemovedErik Andersen
some cruft from cp. -Erik
1999-12-29Fixed cp so it works as God intended it to.Erik Andersen
-Erik
1999-11-16StufEric Andersen
1999-11-10Updates to usage, and made tar work.Eric Andersen
-Erik
1999-10-20Fixed up copyright notices and suchEric Andersen
1999-10-19Added sfdisk. Ststic-ified a bunch of stuff.Eric Andersen
1999-10-18More stuff.Eric Andersen
-Erik
1999-10-18More fixesEric Andersen
1999-10-17Some fixes and suchEric Andersen
1999-10-14Fixed cp -[aR] and some other stuf.Eric Andersen
1999-10-13More stuffEric Andersen
1999-10-12Latest and greatest.Eric Andersen
-Erik
1999-10-09More stuff.Eric Andersen
1999-10-05Initial revisionEric Andersen