Mercurial > hg > octave-lojdl > gnulib-hg
changeset 17284:4dd985ff8805
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 12 Jan 2013 21:37:23 -0800 |
parents | ccd519631b21 |
children | 76707f1cca79 |
files | ChangeLog tests/test-system-quote-child.c |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013-01-12 Paul Eggert <eggert@cs.ucla.edu> + 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
--- 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"