Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-09-03 | (same_file_ok): New function, extracted from copy_internal, | Jim Meyering | |
and partially rewritten. (copy_internal): Unlink destination file when unlink_dest_before_opening option is set, and when the source is neither a regular file nor a directory. | |||
2000-09-02 | *** empty log message *** | Jim Meyering | |
2000-09-02 | *** empty log message *** | Jim Meyering | |
2000-09-02 | *** empty log message *** | Jim Meyering | |
2000-09-02 | *** empty log message *** | Jim Meyering | |
2000-09-02 | *** empty log message *** | Jim Meyering | |
2000-09-02 | add basic test | Jim Meyering | |
2000-08-30 | *** empty log message *** | Jim Meyering | |
2000-08-30 | Merge in changes from GNU libc. | Jim Meyering | |
2000-08-28 | declare __fpending only if necessary | Jim Meyering | |
2000-08-28 | check for __fpending declaration | Jim Meyering | |
2000-08-28 | include stdio_ext.h | Jim Meyering | |
2000-08-27 | *** empty log message *** | Jim Meyering | |
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 | |