summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-08-23back out last changeJim Meyering
2000-08-22*** empty log message ***Jim Meyering
2000-08-22Don't even try to use lseek on character devices.Jim Meyering
(buggy_lseek_support): New function. (skip): Use it. Reported by Martin Gallant via Michael Stone.
2000-08-22*** empty log message ***Jim Meyering
2000-08-21Clean up traps. Create files in a subdir.Jim Meyering
2000-08-21remove `dir' in trap, tooJim Meyering
2000-08-21use better trapJim Meyering
2000-08-21*** empty log message ***Jim Meyering
2000-08-21*** empty log message ***Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20remove blank lineJim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20.Jim Meyering
2000-08-20New file. From J. David Anglin.Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20(TESTS): Add cp-HL.Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
2000-08-20*** empty log message ***Jim Meyering
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-20Declare 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-20Include utmp.h `#if HAVE_UTMP_H', rather thanJim 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-19fix my grammar error in last changeJim 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-15Add 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-14remove incorrect FIXME comment.Jim Meyering
2000-08-14*** empty log message ***Jim Meyering
2000-08-14(copy_reg): Move declaration of local, `n_read', intoJim 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)'.