system-quote-tests: port to CentOS 5
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 May 2012 14:50:21 +0000 (07:50 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 May 2012 14:50:21 +0000 (07:50 -0700)
Problem reported by Tom G. Christensen in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00255.html>.
* tests/test-system-quote-child.c (fclose, fprintf): Undef.

ChangeLog
tests/test-system-quote-child.c

index 1fb9e3e..4dc5c1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-05-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       system-quote-tests: port to CentOS 5
+       Problem reported by Tom G. Christensen in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00255.html>.
+       * tests/test-system-quote-child.c (fclose, fprintf): Undef.
+
 2012-05-29  Jim Meyering  <meyering@redhat.com>
 
        maint: fix typos in comments and ChangeLog
index 9b63de0..29c366f 100644 (file)
 #include <stdio.h>
 #include <string.h>
 
+/* Do not use any gnulib replacements, since this program should
+   link against as few libraries as possible.  */
+#undef fclose
+#undef fprintf
+
 #define EXPECTED_DATA_FILE "t-sq-data.tmp"
 
 int