Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc

2008-12-09 Thread Bruno Haible
Albert Chin wrote: > > Something like this. Probably also adding replacements for btowc and > > mbrtowc. > > > > [ snip snip ] > > Any plans to commit the patch? It's still in the works. I decided to go for btowc and mbrtowc substitutes and drop the "something like this" part (since there is no

Re: POSIX 2008 available

2008-12-09 Thread Mike Frysinger
On Tuesday 09 December 2008 17:02:51 Eric Blake wrote: > POSIX 2008 is now freely available at: > > http://www.opengroup.org/bookstore/catalog/c082.htm > > which, once you accept a cookie, redirects to: > > http://www.opengroup.org/onlinepubs/9699919799/toc.htm wonder if the canonical link will be

POSIX 2008 available

2008-12-09 Thread Eric Blake
POSIX 2008 is now freely available at: http://www.opengroup.org/bookstore/catalog/c082.htm which, once you accept a cookie, redirects to: http://www.opengroup.org/onlinepubs/9699919799/toc.htm [My favorite page - the new examples section for touch(1): http://www.opengroup.org/onlinepubs/969991

flock fails on sparc-sun-solaris2.6

2008-12-09 Thread Tom G. Christensen
Hello, Using Simons daily-build script I got this failure: depbase=`echo flock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -I../intl -D_REENTRANT -g -O2 -MT flock.o -MD -MP -MF $depbase.Tpo -c -o

Re: Add missing include to parse-duration.c.

2008-12-09 Thread Ralf Wildenhues
Hi Bruce, Bruno, * Bruce Korb wrote on Tue, Dec 09, 2008 at 05:09:38PM CET: > Obvious enough you needn't have waited for me. :) > "Yes, please." * Bruno Haible wrote on Tue, Dec 09, 2008 at 12:47:50PM CET: > > This also requires an update of the module dependencies. Thanks to both of you, push

Re: putenv with mingw32

2008-12-09 Thread Sylvain Beucler
On Tue, Dec 09, 2008 at 08:24:09AM +0100, Simon Josefsson wrote: > Maybe you could disable C99 in the gnulib directory? I remember doing so a while ago and getting detection errors. It's commented out in my Makefile.am ;) -- Sylvain

Re: Fix sed script reading maint.mk.

2008-12-09 Thread Ralf Wildenhues
Hi Jim, * Jim Meyering wrote on Tue, Dec 09, 2008 at 08:35:14AM CET: > Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > OK to apply? Or would you rather have the $(srcdir)/ in $(ME)? > That's fine by me, modulo the long line. How about splitting it? Split, and pushed. Thanks! Ralf

Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit & mbrtowc

2008-12-09 Thread Albert Chin
On Thu, Oct 30, 2008 at 12:42:48PM +0100, Bruno Haible wrote: > Hello Sergey, > > > > This renders compilation of 4.13 inoperable on these systems, and > > > you get the build errors below > > > > > > display.o:display.o:(.text+0x786): undefined reference to `mbrtowc' > > > display.o:display.

Re: Add missing include to parse-duration.c.

2008-12-09 Thread Bruce Korb
Hi Ralf, Obvious enough you needn't have waited for me. :) "Yes, please." Cheers - Bruce On Mon, Dec 8, 2008 at 10:18 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Bruce, > > ok to commit? Seems pretty obvious. > > Thanks, > Ralf > >Add missing include to parse-duration.c. > >*

Re: powerpc-apple-darwin8.11.0 ldexpl: cannot handle zero exponents?

2008-12-09 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > This patch should make the test fail. Committed. It seems to work fine, thanks. /Simon http://autobuild.josefsson.org/gnulib/log-200812090924334467000.txt

Re: [PATCH] warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.

2008-12-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/8/2008 4:07 PM: > Before doing that, I'd like to see the results that Simon, Jim, Eric, and > others get on reasonably large code bases. My list of warnings to avoid > is certainly biased. What we document in the manual

Re: powerpc-apple-darwin8.11.0 ldexpl: cannot handle zero exponents?

2008-12-09 Thread Bruno Haible
Hi Simon, > The code reads: > > x = 1.73205L; > y = ldexpl (x, 0); ASSERT (y == x); > > Printing the values yield: > > x 1.732050 y -0.00 Interesting... > configure:63967: checking whether ldexpl works > configure:64002: gcc -std=gnu99 -o conftest -g -O2 -I/opt/local/include > c

Re: Add missing include to parse-duration.c.

2008-12-09 Thread Bruno Haible
Ralf Wildenhues wrote: > * lib/parse-duration.c: #include "xalloc.h", for xstrdup. This also requires an update of the module dependencies. Bruno

Re: [PATCH] warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.

2008-12-09 Thread Pádraig Brady
Bruno Haible wrote: > > The list of warnings that I would disable unconditionally would be: > > warnings="$warnings -Wno-sign-compare" # These warnings usually don't > point to mistakes. Usually -Wsign-compare warnings don't point to mistakes, but they can point to non obvious mistakes (whi

powerpc-apple-darwin8.11.0 flock: accepts impossible operations

2008-12-09 Thread Simon Josefsson
test-flock.c:90: assertion failed, errno = 0 Abort trap espresso:~/daily/gnulib/dummy-0/gltests jas$ Removing the line with the abort() call gives: test-flock.c:89: assertion failed, errno = 0 test-flock.c:90: assertion failed, errno = 0 test-flock.c:91: assertion failed, errno = 0 test-flock.c:

powerpc-apple-darwin8.11.0 ldexpl: cannot handle zero exponents?

2008-12-09 Thread Simon Josefsson
espresso:~/daily/gnulib/dummy-0/gltests jas$ ./test-ldexpl test-ldexpl.c:99: assertion failed Abort trap espresso:~/daily/gnulib/dummy-0/gltests jas$ The code reads: x = 1.73205L; y = ldexpl (x, 0); ASSERT (y == x); Printing the values yield: x 1.732050 y -0.00 I guess the Mac OS

powerpc autobuilder

2008-12-09 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Since I don't know what __signbitl does and whether it is safe to use it, > I'm simply making the autoconf test sharper: This works fine. We now have a powerpc daily builder running: http://autobuild.josefsson.org/gnulib/ If anyone else wants to donat