Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-08-27 | . | Jim Meyering | |
2000-08-27 | (copy_reg): New parameters: X and NEW_DST. | Jim Meyering | |
Remove the SPARSE_MODE parameter. Update caller. Perform POSIX-mandated (for cp) open-with-O_WRONLY|O_TRUNC when the regular destination file exists; upon failure, unlink that existing file, then open again, but with O_WRONLY|O_CREAT. (copy_internal): `force' in not related to interactive; remove the conjunct. Remove the entire `else if (x->force)' block; justifying removal of the non-directory part is easy: POSIX requires we try to open an existing regular file, so we can't unlink it beforehand. The part that changes the mode on a directory to allow overwriting isn't necessary. | |||
2000-08-27 | (copy_internal): Set `new_dst' when the move_mode rename fails, | Jim Meyering | |
since we then unlink the destination file. | |||
2000-08-27 | (copy_reg): Rename two goto labels. | Jim Meyering | |
2000-08-26 | . | Jim Meyering | |
2000-08-26 | (usage): --force is independent of --interactive. | Jim Meyering | |
2000-08-26 | . | Jim Meyering | |
2000-08-26 | . | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | Include "__fpending.h". | Jim Meyering | |
(close_stdout_status): Return right away if there's nothing to flush. | |||
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | (noinst_HEADERS): Add __fpending.h. | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | Use jm_FUNC_FPENDING. | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
2000-08-26 | *** empty log message *** | Jim Meyering | |
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-24 | Put 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 is | Jim 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-23 | Include <config.h> unconditionally, to be consistent | Jim 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-23 | longer input | Jim Meyering | |
2000-08-23 | redir dd's stderr | Jim Meyering | |
2000-08-23 | change PROG from ls to dd | Jim Meyering | |
2000-08-23 | (TESTS): Add not-rewound. | Jim Meyering | |
2000-08-23 | *** empty log message *** | Jim Meyering | |
2000-08-23 | use better trap | Jim Meyering | |
2000-08-23 | *** empty log message *** | Jim Meyering | |
2000-08-23 | back out last change | Jim Meyering | |
2000-08-22 | *** empty log message *** | Jim Meyering | |
2000-08-22 | Don'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-21 | Clean up traps. Create files in a subdir. | Jim Meyering | |
2000-08-21 | remove `dir' in trap, too | Jim Meyering | |
2000-08-21 | use better trap | Jim Meyering | |