changeset 16888:6d8cc1b5db33

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 29 May 2012 07:50:21 -0700
parents 80e017adf024
children 5f9673a427e1
files ChangeLog tests/test-system-quote-child.c
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/tests/test-system-quote-child.c
+++ b/tests/test-system-quote-child.c
@@ -19,6 +19,11 @@
 #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