summaryrefslogtreecommitdiff
path: root/src/copy.c
AgeCommit message (Collapse)Author
1998-03-28Add copyright.Jim Meyering
1998-03-15Use #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 dueJim 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-16s/__P/PARAMS/gJim 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-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23Remove stpcpy decl.Jim Meyering
1997-10-06fix brainoJim Meyering
1997-10-06(copy_internal): Use require_preserve.Jim Meyering
1997-10-04Remove old-style savedir dcl.Jim Meyering
Include savedir.h for prototype.
1997-07-06declare stpcpyJim Meyering
1997-05-27clean up for -WallJim Meyering
1997-05-26(copy_internal): When preserving symlinks (--no-dereference) and theJim 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 forJim Meyering
ambiguity in a diagnostic, give explanatory diagnostic in addition to file name.
1997-02-02.Jim Meyering
1997-02-01.Jim Meyering
1997-01-15Add struct dir_list and is_ancestor.Jim Meyering
1997-01-11.Jim Meyering
1997-01-11.Jim Meyering