log toys/posix/cp.c @ 1714:0c8ef714cf03 draft

age author description
Sun, 01 Mar 2015 16:08:51 -0600 Rob Landley Patches from Elliott Hughes to fix various printf() format strings. draft
Sun, 15 Feb 2015 15:44:26 -0600 Rob Landley Add --remove-destination longopt for -F because the host version doesn't have a shortopt for it. draft
Wed, 31 Dec 2014 21:23:37 -0600 Rob Landley When CP_MORE was disabled, the d flag was still in the [-exclusion] list at the end and option parsing fell off the end looking for it (segfault) if DEBUG wasn't enabled to check for that. draft
Thu, 18 Dec 2014 11:13:35 -0600 Rob Landley Decouple cp and mv so mv uses its own --help text. draft
Sat, 22 Nov 2014 00:36:45 -0600 Rob Landley As long as Android's going to require fortify, fixup the warnings it generates. draft
Tue, 14 Oct 2014 11:40:03 -0500 Rob Landley Fix last night's mv commit (use dest, not source). draft
Tue, 14 Oct 2014 00:01:22 -0500 Rob Landley Implement mv -f and -i. draft
Thu, 09 Oct 2014 13:43:32 -0500 Rob Landley Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them. draft
Sun, 14 Sep 2014 12:29:44 -0500 Rob Landley Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether we want to redirect both, one, or neither of stdin/stdout. draft
Mon, 01 Sep 2014 12:47:32 -0500 Rob Landley Add cp -F to force delete of existing destination files, and make install command use that. draft
Sat, 16 Aug 2014 09:46:42 -0500 Rob Landley Add install to cp/mv. draft
Sat, 26 Jul 2014 13:30:40 -0500 Rob Landley Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle. draft
Mon, 14 Jul 2014 05:38:27 -0500 Rob Landley Implement -HL for cp. draft
Tue, 04 Feb 2014 06:20:14 -0600 Rob Landley Tweak help text. draft
Thu, 16 Jan 2014 09:26:50 -0600 Rob Landley Rename xmsprintf() to just xmprintf(). draft
Thu, 01 Aug 2013 18:15:20 -0500 Rob Landley Need to specify bool for CP_MV_MORE config symbol to avoid warnings.
Sat, 22 Jun 2013 23:30:07 -0500 Rob Landley Implement mv as an extension of cp.
Sun, 10 Feb 2013 18:04:15 -0600 Rob Landley Implement cp -s option.
Thu, 31 Jan 2013 04:13:07 -0600 Rob Landley Fix -in behavior: descend into existing directory without prompting, show full path in error messages, actually overwrite when answering yes to -i.
Fri, 18 Jan 2013 06:03:00 -0600 Rob Landley Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without the unsupported symlink nofollow flag. 0.4.3
Wed, 16 Jan 2013 06:57:44 -0600 Rob Landley Make "sudo cp -rp /dev/null blah" work. Still not happy with it, fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful).
Sat, 12 Jan 2013 01:40:16 -0600 Rob Landley Update -p and -f to apply properly to various conditions. Still some bugs to squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos).
Thu, 10 Jan 2013 20:19:23 -0600 Rob Landley Teach cp to do -n.
Wed, 09 Jan 2013 05:16:48 -0600 Rob Landley Teach cp to do mknod.
Mon, 07 Jan 2013 21:28:46 -0600 Rob Landley Adapt cp to updated dirtree code.
Tue, 13 Nov 2012 17:14:08 -0600 Rob Landley Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
Mon, 08 Oct 2012 00:02:30 -0500 Rob Landley New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
Sat, 25 Aug 2012 18:08:51 -0500 Rob Landley Regularize command headers, update links to standards documents.
Sat, 25 Aug 2012 14:25:22 -0500 Rob Landley Move commands into "posix", "lsb", and "other" menus/directories. base toys/cp.c@50896a34ef53