cp: copy files by inode

Problem reported by Bernhard Voelker in:
http://lists.gnu.org/archive/html/coreutils/2014-02/msg00034.html
* src/copy.c (copy_dir): Adjust to recent gnulib change.
This commit is contained in:
Paul Eggert committed 2014-02-26 11:31:25 -08:00
1 parent f81a79f194
commit 069723c5ee
1 file changed
+1 -1
+1 -1
View File
@@ -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);
name_space = savedir (src_name_in, SAVEDIR_SORT_INODE);
if (name_space == NULL)
{
/* This diagnostic is a bit vague because savedir can fail in