Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-09-04 | *** empty log message *** | Jim Meyering | |
2000-09-04 | *** empty log message *** | Jim Meyering | |
2000-09-04 | *** empty log message *** | Jim Meyering | |
2000-09-04 | *** empty log message *** | Jim Meyering | |
2000-09-03 | *** empty log message *** | Jim Meyering | |
2000-09-03 | (cp_option_init): Initialize new members. | Jim Meyering | |
2000-09-03 | . | Jim Meyering | |
2000-09-03 | . | Jim Meyering | |
2000-09-03 | tweak comment | Jim Meyering | |
2000-09-03 | Remove obsolete comment block. | Jim Meyering | |
(cp_option_init): Initialize new members. (usage): Reflect the fact that --force (-f) relates only to whether mv prompts. (main): Remove uses of old `force' option member. | |||
2000-09-03 | (enum): Add UNLINK_DEST_BEFORE_OPENING. | Jim Meyering | |
[long_options]: Add an entry for --remove-destination. (usage): Describe --remove-destination. (do_copy): Use unlink_dest_after_failed_open member, not `force.' (cp_option_init): Initialize new members. (main): Handle UNLINK_DEST_BEFORE_OPENING (aka --remove-destination). | |||
2000-09-03 | correct description of unlink_dest_after_failed_open | Jim Meyering | |
2000-09-03 | comment | Jim Meyering | |
2000-09-03 | Use strcoll (not strcmp) when comparing file names. | Jim Meyering | |
2000-09-03 | (struct cp_options) [force]: Remove member. | Jim Meyering | |
[unlink_dest_before_opening]: Add member. [unlink_dest_after_failed_open]: Add member. | |||
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 | |