Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-22 | Convert cp from magic constants to TAGGED_ARRAY() | Rob Landley | |
2015-10-27 | Install without a mode should use 0755, and check FLAG_preserve instead of | Rob Landley | |
the global so "install -g 0" doesn't alias to "cp --preserve 0" and error out. through to --preserve 0" | |||
2015-09-07 | Remove prompt argument from yesno(), caller can fprintf(stderr, "blah") itself. | Rob Landley | |
This fixes the build break, the change to yesno() prototype accidentally got checked in last commit. (Oops, sorry.) | |||
2015-08-30 | Fix mv on overwrite. | Elliott Hughes | |
We need to remove the destination, not the source, to be able to overwrite. | |||
2015-07-03 | First pass on cp --preserve | Rob Landley | |
2015-05-10 | Cleanups of dirtree_start() calls. (Don't need to feed in flag values, just | Rob Landley | |
symfollow true/false.) | |||
2015-05-09 | Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from | Rob Landley | |
under traversal. Pass through full flag set in dirtree_add_node(), add dirtree_start() wrapper to provide symlink-only behavior (avoiding a lot of DIRTREE_SYMFOLLOW*!!(logic) repeated in callers). | |||
2015-03-21 | install -D bugfix from David Halls. | Rob Landley | |
(I tweaked some comment text while I was there.) | |||
2015-03-12 | Make install support numeric uid/gids (reported by Kylie McClain). | Rob Landley | |
2015-03-01 | Patches from Elliott Hughes to fix various printf() format strings. | Rob Landley | |
(Don't specify the space flag when it's the default behavior. The ifconfig stuff was actual bugs.) | |||
2015-02-15 | Add --remove-destination longopt for -F because the host version doesn't ↵ | Rob Landley | |
have a shortopt for it. | |||
2014-12-31 | When CP_MORE was disabled, the d flag was still in the [-exclusion] list at ↵ | Rob Landley | |
the end and option parsing fell off the end looking for it (segfault) if DEBUG wasn't enabled to check for that. | |||
2014-12-18 | Decouple cp and mv so mv uses its own --help text. | Rob Landley | |
MV still requires CP enabled until the flag generation logic gets updated. | |||
2014-11-22 | As long as Android's going to require fortify, fixup the warnings it generates. | Rob Landley | |
2014-10-14 | Fix last night's mv commit (use dest, not source). | Rob Landley | |
2014-10-14 | Implement mv -f and -i. | Rob Landley | |
2014-10-09 | Various bugfixes (mostly resource leaks) from Ashwini Sharma's static ↵ | Rob Landley | |
analysis, plus occasional tweak by me while reviewing them. | |||
2014-09-14 | Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ↵ | Rob Landley | |
we want to redirect both, one, or neither of stdin/stdout. | |||
2014-09-01 | Add cp -F to force delete of existing destination files, and make install ↵ | Rob Landley | |
command use that. -F is equivalent to the gnu/dammit flag --we-think-long-options-without-short-options-are-a-good-idea | |||
2014-08-16 | Add install to cp/mv. | Rob Landley | |
2014-07-26 | Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ↵ | Rob Landley | |
open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle. | |||
2014-07-14 | Implement -HL for cp. | Rob Landley | |
2014-02-04 | Tweak help text. | Rob Landley | |
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-08-01 | Need to specify bool for CP_MV_MORE config symbol to avoid warnings. | Rob Landley | |
2013-06-22 | Implement mv as an extension of cp. | Rob Landley | |
2013-02-10 | Implement cp -s option. | Rob Landley | |
2013-01-31 | Fix -in behavior: descend into existing directory without prompting, show ↵ | Rob Landley | |
full path in error messages, actually overwrite when answering yes to -i. | |||
2013-01-18 | Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without ↵0.4.3 | Rob Landley | |
the unsupported symlink nofollow flag. | |||
2013-01-16 | Make "sudo cp -rp /dev/null blah" work. Still not happy with it, ↵ | Rob Landley | |
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). | |||
2013-01-12 | Update -p and -f to apply properly to various conditions. Still some bugs to ↵ | Rob Landley | |
squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos). | |||
2013-01-10 | Teach cp to do -n. | Rob Landley | |
2013-01-09 | Teach cp to do mknod. | Rob Landley | |
2013-01-07 | Adapt cp to updated dirtree code. | Rob Landley | |
2012-11-13 | Reindent to two spaces per level. Remove vi: directives that haven't worked ↵ | Rob Landley | |
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. The actual code should be the same afterward, this is just cosmetic refactoring. | |||
2012-10-08 | New build infrastructure to generate FLAG_ macros and TT alias, #define ↵ | Rob Landley | |
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. | |||
2012-08-25 | Regularize command headers, update links to standards documents. | Rob Landley | |
2012-08-25 | Move commands into "posix", "lsb", and "other" menus/directories. | Rob Landley | |