1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-14 07:46:28 +02:00

revert unrelated part of last delta -- coming soon with a separate log entry

This commit is contained in:
Jim Meyering
2001-07-08 21:31:42 +00:00
parent 9af2cc052b
commit 89bef497fd

View File

@@ -653,13 +653,7 @@ copy_internal (const char *src_path, const char *dst_path,
}
if (x->update && MTIME_CMP (src_sb, dst_sb) <= 0)
{
/* Pretend the rename succeeded, so the caller (mv)
doesn't end up removing the source file. */
if (rename_succeeded)
*rename_succeeded = 1;
return 0;
}
return 0;
}
if (!S_ISDIR (src_type) && x->interactive)