Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-08-08 | (copy_dir): Remove cast of savedir arg. | Jim Meyering | |
1999-05-23 | (copy_internal): Don't apply the umask in move_mode. | Jim Meyering | |
Otherwise, `mv' would not preserve the permissions when copying between partitions. Reported by David Godfrey | |||
1999-05-23 | Remove today's earlier misguided attempts. | Jim Meyering | |
Add a single condition to the existing sameness test. | |||
1999-05-23 | Include same.h. | Jim Meyering | |
(copy_internal): Qualify SAME_INODE test with (link-count == 1 || same_name(...)). | |||
1999-05-23 | (copy_internal): Make it so `mv -f FILE FILE' does not remove FILE. | Jim Meyering | |
Based on a patch from Chris Yeo. | |||
1999-04-30 | (copy_internal): Move the one-file-system test so that | Jim Meyering | |
it follows the `if (new_dst || !S_ISDIR (dst_sb.st_mode))' block. Prior to this change, `cp --one-file-system' would traverse a file- system boundary if the destination directory existed. From thospel@mail.dma.be. | |||
1999-04-30 | (copy_internal): Don't make `mv foo symlink-to-foo' fail. | Jim Meyering | |
That is, even though source and destination are `the same,' don't fail if the destination is a symlink. From Peter Samuelson. | |||
1999-04-26 | (copy_reg, copy_internal): Use proper mode_t types and macros. | Jim Meyering | |
Don't assume the traditional Unix values for mode bits. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-31 | (copy_internal): Describe any backup-related renaming | Jim Meyering | |
operations when in verbose mode. (copy_internal): Likewise. Based on changes from Marty Leisner. | |||
1999-01-11 | (copy_internal): Handle two more values of errno from | Jim Meyering | |
failed rename of a directory into a subdirectory of itself. | |||
1998-12-18 | (copy_internal): Remove errnoeous `%s: ' prefix | Jim Meyering | |
from format string. From Michiel Bacchiani. | |||
1998-12-07 | Use dir_name, not dirname. Include dirname.h. | Jim Meyering | |
1998-11-30 | (copy_internal): Remove earlier (but less effective) | Jim Meyering | |
test for move/copy-into-self. Instead, deduce the move-into-self condition from errno==EINVAL after a failed rename. | |||
1998-09-28 | (copy_internal): Do honor `n' reply in move-mode. | Jim Meyering | |
Otherwise, `touch a b; echo n|mv -i a b' would remove b. From Bernd Leibing. | |||
1998-09-27 | (copy_internal): Don't preserve hard-linked directories | Jim Meyering | |
to avoid damaging the destination filesystem when copying from a Netapp snapshot directory. With code from Kjetil Torgrim Hollstein and Paul Eggert. | |||
1998-08-15 | (copy_internal) [one-file-system]: Do copy mount point | Jim Meyering | |
directories (but none of their entries). This makes `cp --one-file-system' work the same way tar does. From Marty Leisner. | |||
1998-08-02 | (copy_internal): Compare time stamps with subsecond resolution if available. | Jim Meyering | |
1998-07-25 | (SAME_INODE): Remove definition. | Jim Meyering | |
1998-07-19 | (copy_internal): Add another exclusion from the | Jim Meyering | |
sameness test: when --force has been specified, the destination is unlinked before any copy. (copy_internal): Add yet another: when both src and dest are symlinks. | |||
1998-07-03 | (copy_internal): Rename variable and reverse sense of tests | Jim Meyering | |
to make the code a little clearer. | |||
1998-07-03 | (SAME_INODE): New macro. | Jim Meyering | |
Use it to replace open-coded equivalents. | |||
1998-07-03 | (copy_internal): Try harder identifying a relative | Jim Meyering | |
symbolic link in the current directory. From Andreas Schwab. | |||
1998-07-03 | (copy_internal): Don't skip test for same file if creating a hardlink | Jim Meyering | |
from symlink over a non-symlink while making backups. | |||
1998-07-03 | (copy_internal): Don't call chown on a symlink. | Jim Meyering | |
1998-06-27 | (copy_internal): Fix it so hard-link test is no longer hidden inside | Jim Meyering | |
big if-(backup_type == none) block. | |||
1998-06-27 | (copy_reg): Detect identical source and dest here. | Jim Meyering | |
(copy_internal): Make the test symmetric. | |||
1998-05-13 | (copy_internal): Plug a small leak. | Jim Meyering | |
1998-05-11 | (copy_internal): Use new move_mode member. | Jim Meyering | |
Add parameter. (copy): Add parameter. | |||
1998-05-10 | (new_nondir_mode): New function. Use where appropriate. | Jim Meyering | |
Use more-specific preserve_* members in place of removed `preserve'. (copy_internal): Honor failed_unlink_is_fatal. | |||
1998-03-28 | Add copyright. | Jim Meyering | |
1998-03-15 | Use #if, not #ifdef with HAVE_ macros. | Jim Meyering | |
Use #if !, not #ifndef with HAVE_ macros. | |||
1998-03-13 | (copy_dir): Add new parameter, copy_into_self, and set it. | Jim Meyering | |
(copy_internal): Likewise. (copy): Likewise. Update all callers. | |||
1998-01-25 | (DO_CHOWN): Don't fail for non-root when chown fails due | Jim Meyering | |
not only to lack of permission (EPERM), but also to lack of support (EINVAL). Reported by Bengt Martensson. | |||
1998-01-22 | (copy_internal): Use x->backup_type, not the global. | Jim Meyering | |
(valid_options): Use VALID_BACKUP_TYPE and VALID_SPARSE_MODE. | |||
1997-12-25 | (copy_internal): Use S_ISLNK only if defined. | Jim Meyering | |
1997-12-16 | s/__P/PARAMS/g | Jim Meyering | |
1997-11-30 | (copy_reg): Store file size as off_t, not long. | Jim Meyering | |
Do not assume st_size has been normalized to 512 byte blocks, or that it fits in size_t after dividing by the blocksize. | |||
1997-11-12 | (copy_dir): Use path_concat rather than open-coding it. | Jim Meyering | |
1997-10-25 | Remove old-style xmalloc and xrealloc decls. | Jim Meyering | |
1997-10-23 | Remove stpcpy decl. | Jim Meyering | |
1997-10-06 | fix braino | Jim Meyering | |
1997-10-06 | (copy_internal): Use require_preserve. | Jim Meyering | |
1997-10-04 | Remove old-style savedir dcl. | Jim Meyering | |
Include savedir.h for prototype. | |||
1997-07-06 | declare stpcpy | Jim Meyering | |
1997-05-27 | clean up for -Wall | Jim Meyering | |
1997-05-26 | (copy_internal): When preserving symlinks (--no-dereference) and the | Jim Meyering | |
destination file is a symlink, use stat (not xstat) to see if it points back to the source. Reported by James <james@albion.glarp.com>. | |||
1997-02-27 | (copy_internal): When there is any potential for | Jim Meyering | |
ambiguity in a diagnostic, give explanatory diagnostic in addition to file name. | |||
1997-02-02 | . | Jim Meyering | |
1997-02-01 | . | Jim Meyering | |