From: Jim Meyering Date: Thu, 28 Dec 2000 09:53:34 +0000 (+0000) Subject: (same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/. X-Git-Tag: FILEUTILS-4_0_36~157 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=3abbefb5e490a8f410cd684cd538371caa793696;p=thirdparty%2Fcoreutils.git (same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/. --- diff --git a/src/copy.c b/src/copy.c index 4a809dd0ef..88402c03b8 100644 --- a/src/copy.c +++ b/src/copy.c @@ -514,7 +514,7 @@ same_file_ok (const char *src_path, const struct stat *src_sb, { if (stat (dst_path, &tmp_dst_sb) || stat (src_path, &tmp_src_sb) - || ! SAME_INODE (tmp_dst_sb, tmp_dst_sb)) + || ! SAME_INODE (tmp_src_sb, tmp_dst_sb)) return 1; /* FIXME: shouldn't this be testing whether we're making symlinks? */