Red Hat Bugzilla – Bug 124043
cvs diff -uN generates bogus diffs
Last modified: 2007-11-30 17:10:43 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
With GCC's CVS repository,
cvs co -rgcc_3_4_0_release
cvs diff -uN -rgcc_3_4_0_release
generates bogus diffs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Check out a copy gcc-3.4.0 from GCC's CVS (cf. http://gcc.gnu.org)
cvs co -r gcc_3_4_0_release
cvs diff -uNR -r gcc_3_4_0_release
Actual Results: The resulting diff contains diffs against files that
try to remove files that are not present in gcc_3_4_0_release.
cvs diff -uN -r gcc_3_4_0_release gcc/config/sparc/t-linux
RCS file: gcc/config/sparc/t-linux
diff -N gcc/config/sparc/t-linux
--- gcc/config/sparc/t-linux 1 Apr 2004 16:13:08 -0000 184.108.40.206
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-# Compile libgcc2.a with pic and IEEE quad long double.
-TARGET_LIBGCC2_CFLAGS = -fPIC -mlong-double-128
As it seems to me these are files had both been tagged
"gcc_3_4_0_release" and had been "cvs rm"'ed.
Expected Results: The diff should be empty.
I had tried to file this as a PR into GCC's bugzilla, but the GCC
maintainers blame "my cvs to be broken".
Seems to be fixed with cvs-1.11.15-5