From 3abbefb5e490a8f410cd684cd538371caa793696 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 28 Dec 2000 09:53:34 +0000 Subject: [PATCH] (same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/. --- src/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copy.c b/src/copy.c index 4a809dd0e..88402c03b 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? */