bug-gnulib
[Top][All Lists]
Advanced

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

Re: Build errors on Solaris 2.6 & 7


From: Paul Eggert
Subject: Re: Build errors on Solaris 2.6 & 7
Date: Sat, 12 Jan 2013 21:52:52 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 01/12/2013 02:49 AM, Tom G. Christensen wrote:
> Additionally another undef seems to be necessary for test-system-quote-child:

I installed into gnulib the following, which I hope fixes the problem:

---
 ChangeLog                       | 5 +++++
 tests/test-system-quote-child.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index d63b173..7afe8e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-01-12  Paul Eggert  <address@hidden>
 
+       system-quote-tests: port to older Solaris
+       Problem reported by Tom G. Christensen in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>.
+       * tests/test-system-quote-child.c (fopen, fread): Undef.
+
        c-xvasprintf etc.: fix link errors on older Solaris
        These need to link with @LIBINTL@ to get libintl_gettext.
        Problem reported by Tom G. Christensen in
diff --git a/tests/test-system-quote-child.c b/tests/test-system-quote-child.c
index d8f6c7b..5009e29 100644
--- a/tests/test-system-quote-child.c
+++ b/tests/test-system-quote-child.c
@@ -22,7 +22,9 @@
 /* Do not use any gnulib replacements, since this program should
    link against as few libraries as possible.  */
 #undef fclose
+#undef fopen
 #undef fprintf
+#undef fread
 
 #define EXPECTED_DATA_FILE "t-sq-data.tmp"
 
-- 
1.7.11.7





reply via email to

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