Re: Build errors on Solaris 2.6 & 7

2013-01-09 Thread Paul Eggert
On 01/09/13 08:30, Tom G. Christensen wrote: > We get this chain of includes on Solaris 2.6 and 7: > c-strtod.c -> gnulib -> system -> gettext -> Sorry, what's the gettext ? I just now built and installed gettext-0.18.2 on Solaris 11, and it didn't have or install a libintl.h. There is a sys

Re: Build errors on Solaris 2.6 & 7

2013-01-09 Thread Paul Eggert
On 01/09/13 08:23, Tom G. Christensen wrote: > The issue of include order is present on Solaris < 10 but causes a build > error only on Solaris 2.6. > It worked on Solaris 7 through 9 only by accident (compatible protoypes). OK, thanks, I reworded the commit message and pushed that change to sava

[PATCH] stdlib: port to Solaris 2.6

2013-01-09 Thread Paul Eggert
Also, the code worked on Solaris 7 through 9 only by accident. Problem reported by Tom G. Christensen in . * lib/stdlib.in.h: If __need_system_stdlib_h is defined, simply include the system stdlib.h. * lib/getopt.in.h (__need_syste

Re: Build errors on Solaris 2.6 & 7

2013-01-09 Thread Tom G. Christensen
On 01/06/2013 04:11 PM, Tom G. Christensen wrote: depbase=`echo c-strtod.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -I../intl -I/usr/tgcw are/include -D_REENTRANT -g -O2 -MT c-st

Re: Build errors on Solaris 2.6 & 7

2013-01-09 Thread Tom G. Christensen
On 01/08/2013 09:33 PM, Paul Eggert wrote: Thanks for the diagnosis. Does the following patch fix that problem for you? I hope it's closer to the "right" solution. It does, thank you. I've checked Solaris 2.6,7 and 9 and it ensures that gnulib is parsed last as expected. stdlib: port to

[PATCH] Fix misspellings of "occurred".

2013-01-09 Thread Paul Eggert
--- ChangeLog | 2 +- lib/strftime.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d4793d..573fc13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15113,7 +15113,7 @@ 2011-07-06 Erik Faye-Lund poll: do not return 0 on timeout=-1 -