summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-08-25*** empty log message ***Jim Meyering
2000-08-25*** empty log message ***Jim Meyering
2000-08-24*** empty log message ***Jim Meyering
2000-08-24Put back the kluge. It's necessary after all.Jim Meyering
(buggy_lseek_support): New function. (skip): Use it. Frank Adler reported that although _llseek returns 0, lseek erroneously returns an offset suggesting the operation succeeded even though it fails.
2000-08-24*** empty log message ***Jim Meyering
2000-08-24.Jim Meyering
2000-08-24.Jim Meyering
2000-08-24*** empty log message ***Jim Meyering
2000-08-24*** empty log message ***Jim Meyering
2000-08-24(skip): Assume lseek failed if it returned zero, since a zero return isJim Meyering
impossible and some buggy drivers return zero. Use SEEK_CUR rather than SEEK_SET; this fixes a bug when the file descriptor is not currently rewound.
2000-08-23*** empty log message ***Jim Meyering
2000-08-23Include <config.h> unconditionally, to be consistentJim Meyering
with all the other programs in this directory.
2000-08-23*** empty log message ***Jim Meyering
2000-08-23*** empty log message ***Jim Meyering
2000-08-23longer inputJim Meyering
2000-08-23redir dd's stderrJim Meyering
2000-08-23change PROG from ls to ddJim Meyering
2000-08-23(TESTS): Add not-rewound.Jim Meyering
2000-08-23*** empty log message ***Jim Meyering
2000-08-23use better trapJim Meyering
2000-08-23*** empty log message ***Jim Meyering
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