Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-08-20 | *** empty log message *** | Jim Meyering | |
2000-08-20 | (cp_option_init): Initialize to DEREF_ALWAYS, not `1'. | Jim Meyering | |
2000-08-20 | (cp_option_init): Initialize to DEREF_NEVER, not `0'. | Jim Meyering | |
2000-08-20 | (long_opts): Add --dereference, -L. | Jim Meyering | |
(usage): Describe -L and -H. (cp_option_init): Initialize to DEREF_UNDEFINED, not `1'. (main): Add `H' and `-L' to getopt spec string. [case 'a']: Initialize `dereference' to DEREF_NEVER, not 0. [case 'd']: Likewise. [case 'H']: New case. [case 'L']: New case. [case 'R']: Don't set dereference to `0' here. If it's not yet defined, set x.dereference to DEREF_NEVER if -R was specified, else set it to DEREF_ALWAYS. Set x.xstat accordingly for -H. | |||
2000-08-20 | Declare lstat. | Jim Meyering | |
(copy_dir): Set `xstat' member to lstat so that with `-H' we don't follow symlinks found via recursive traversal. Update uses of `dereference' to compare against new enum member names. | |||
2000-08-20 | (enum Dereference_symlink): Define. | Jim Meyering | |
(struct cp_options) [dereference]: Change type to Dereference_symlink. | |||
2000-08-20 | . | Jim Meyering | |
2000-08-20 | . | Jim Meyering | |
2000-08-20 | . | Jim Meyering | |
2000-08-20 | *** empty log message *** | Jim Meyering | |
2000-08-20 | Include utmp.h `#if HAVE_UTMP_H', rather than | Jim Meyering | |
`#if !HAVE_UTMPX_H'. The latter would lose on systems with neither utmp.h nor utmpx.h. Reported by Eli Zaretskii. | |||
2000-08-20 | (print_totals): Rename global from opt_combined_arguments. | Jim Meyering | |
2000-08-19 | fix my grammar error in last change | Jim Meyering | |
2000-08-19 | *** empty log message *** | Jim Meyering | |
2000-08-19 | *** empty log message *** | Jim Meyering | |
2000-08-19 | (writeline): Correct comments. | Jim Meyering | |
From Bruno Haible. | |||
2000-08-18 | *** empty log message *** | Jim Meyering | |
2000-08-18 | (DO_CHOWN): Do not make a special case for non-root. | Jim Meyering | |
POSIX.2 requires that cp -p and mv attempt to set the uid of the destination file, even if you're not root. This affects behavior only on hosts that let you give files away via chmod. | |||
2000-08-15 | *** empty log message *** | Jim Meyering | |
2000-08-15 | Add tests for just-fixed bug. | Jim Meyering | |
2000-08-15 | *** empty log message *** | Jim Meyering | |
2000-08-15 | *** empty log message *** | Jim Meyering | |
2000-08-15 | *** empty log message *** | Jim Meyering | |
2000-08-15 | *** empty log message *** | Jim Meyering | |
2000-08-15 | (count_entry): Remember the current directory also for `.' | Jim Meyering | |
and `..'. Reported by Stephen Smoogen, based on a patch from H.J. Lu. | |||
2000-08-14 | *** empty log message *** | Jim Meyering | |
2000-08-14 | remove incorrect FIXME comment. | Jim Meyering | |
2000-08-14 | *** empty log message *** | Jim Meyering | |
2000-08-14 | (copy_reg): Move declaration of local, `n_read', into | Jim Meyering | |
the scope where it's used. (copy_internal): In calling copy_reg, pass not the raw `src_mode', but the possibly-umask-relative mode, `get_dest_mode (x, src_mode)'. | |||
2000-08-13 | (copy_reg): Add comment. | Jim Meyering | |
2000-08-13 | *** empty log message *** | Jim Meyering | |
2000-08-13 | *** empty log message *** | Jim Meyering | |
2000-08-13 | *** empty log message *** | Jim Meyering | |
2000-08-13 | *** empty log message *** | Jim Meyering | |
2000-08-13 | *** empty log message *** | Jim Meyering | |
2000-08-13 | (get_dest_mode): Rename from new_nondir_mode. | Jim Meyering | |
Honor the umask for `cp', but not for `mv' or `cp -p'. (copy_reg): New 4th parameter, dst_mode. Pass it as 3rd arg. to open. (copy_internal): Change type of locals `src_mode' and `src_type' from int to mode_t. Remove unnecessary local `fix_mode'. Combine two if-stmts into one. Pass `src_mode' as 4th arg to copy_reg. If we've just created a new regular file, return early, skipping the chmod step. copy_reg now sets permissions of such files upon creation. Use get_dest_mode, so there's just one chmod call here. | |||
2000-08-12 | Use jm_FUNC_UNLINK_BUSY_TEXT. | Jim Meyering | |
2000-08-12 | *** empty log message *** | Jim Meyering | |
2000-08-12 | . | Jim Meyering | |
2000-08-12 | (TESTS): Add perm. | Jim Meyering | |
2000-08-12 | *** empty log message *** | Jim Meyering | |
2000-08-12 | Remove test for the VERSION_CONTROL and/or | Jim Meyering | |
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead. | |||
2000-08-12 | Remove test for the VERSION_CONTROL and/or | Jim Meyering | |
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead. | |||
2000-08-12 | Remove test for the VERSION_CONTROL and/or | Jim Meyering | |
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead. | |||
2000-08-12 | Remove test for the VERSION_CONTROL and/or | Jim Meyering | |
SIMPLE_BACKUP_SUFFIX envvars. Source ../envvar-check instead. | |||
2000-08-12 | *** empty log message *** | Jim Meyering | |
2000-08-12 | *** empty log message *** | Jim Meyering | |
2000-08-12 | . | Jim Meyering | |
2000-08-12 | *** empty log message *** | Jim Meyering | |
2000-08-12 | *** empty log message *** | Jim Meyering | |