bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-system-quote-child.c build error on CentOS 5


From: Paul Eggert
Subject: Re: test-system-quote-child.c build error on CentOS 5
Date: Mon, 28 May 2012 19:34:21 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/28/2012 08:25 AM, Tom G. Christensen wrote:
> As a workaround I've added $(LDADD) to test_system_quote_child_LDADD in 
> modules/system-quote-tests.

That doesn't sound right, given the comments there.
I don't understand the situation fully and
do not have the patience to run that test, but does the
following patch fix things for you?

--- 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]