diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-02-27 00:07:14 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-02-27 00:07:59 -0800 |
commit | 7bbfd1735574be80971b597b34f779fe6938a595 (patch) | |
tree | dedc2431aafd3c4d39316fc2bb899d8d9b4b1bc6 /src/copy.c | |
parent | 9946f5cae0bf3ce2b35fe0a27a8a7611b6530312 (diff) | |
download | coreutils-7bbfd1735574be80971b597b34f779fe6938a595.tar.xz |
cp: copy files by inode only if that facility is available
* src/copy.c (copy_dir): Use the new SAVEDIR_SORT_FASTREAD, not
SAVEDIR_SORT_INODE. Problem reported by Bernhard Voelker in:
http://lists.gnu.org/archive/html/coreutils/2014-02/msg00037.html
Diffstat (limited to 'src/copy.c')
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c index 7afb80113..49983869f 100644 --- a/src/copy.c +++ b/src/copy.c @@ -598,7 +598,7 @@ copy_dir (char const *src_name_in, char const *dst_name_in, bool new_dst, struct cp_options non_command_line_options = *x; bool ok = true; - name_space = savedir (src_name_in, SAVEDIR_SORT_INODE); + name_space = savedir (src_name_in, SAVEDIR_SORT_FASTREAD); if (name_space == NULL) { /* This diagnostic is a bit vague because savedir can fail in |