Module Name:    xsrc
Committed By:   wiz
Date:           Wed Jul 18 14:58:49 UTC 2012

Modified Files:
        xsrc/external/mit/libXmu/dist/src: CmapAlloc.c

Log Message:
Use upstream version of DEBUG compile fix instead of local patch.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/libXmu/dist/src/CmapAlloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libXmu/dist/src/CmapAlloc.c
diff -u xsrc/external/mit/libXmu/dist/src/CmapAlloc.c:1.3 xsrc/external/mit/libXmu/dist/src/CmapAlloc.c:1.4
--- xsrc/external/mit/libXmu/dist/src/CmapAlloc.c:1.3	Sun Nov 21 05:52:57 2010
+++ xsrc/external/mit/libXmu/dist/src/CmapAlloc.c	Wed Jul 18 14:58:49 2012
@@ -330,11 +330,8 @@ icbrt_with_guess(int a, int guess)
 	icbrt_loopcount++;
 #endif
 	delta = (guess - a/(guess*guess))/3;
-#ifdef DEBUG
-#ifdef _X_ROOT_STATS
-	printf("pass %d: ", icbrt_loopcount);
-#endif
-	printf("guess=%d, delta=%d\n", guess, delta);
+#if defined(DEBUG) && defined(_X_ROOT_STATS)
+	printf("pass %d: guess=%d, delta=%d\n", icbrt_loopcount, guess, delta);
 #endif
 	guess -= delta;
     } while (delta != 0);

Reply via email to