c-stack sys/resource.h [was: m4-1.4.11.34-9ecd build feedback]

2008-08-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-gnulib] According to Eric Blake on 8/10/2008 9:46 PM: > According to Nelson H. F. Beebe on 8/7/2008 11:20 AM: > === > Nelson reported a build failure on a FreeBSD 5.0 machine: [the report was off-list, because it included other inform

Re: strverscmp

2008-08-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 8/19/2008 5:03 PM: > Eric Blake wrote: >> whether or not you buy my argument that gnulib should make Linux >> development easier by intentionally adding non-POSIX extensions into >> > > glibc has strverscmp() declared i

Re: strverscmp

2008-08-19 Thread Bruno Haible
Eric Blake wrote: > whether or not you buy my argument that gnulib should make Linux > development easier by intentionally adding non-POSIX extensions into > glibc has strverscmp() declared in . This is a sufficient reason for gnulib to do the same. You already named the rationale: It is to min

Re: [RFE] function to read a file descriptor

2008-08-19 Thread Debarshi Ray
> FWIW, your current algorithm of adding BUFSIZ to size causes nonlinear > amount of work done in realloc, for reading large files. You might > want to increase memory by a constant factor or BUFSIZ, whichever is > larger (e.g., just like read-file does), and thus less often than you > recv. So t

Re: [RFE] function to read a file descriptor

2008-08-19 Thread Ralf Wildenhues
Hello Debarshi, * Debarshi Ray wrote on Tue, Aug 19, 2008 at 05:29:28AM CEST: > > *buffer = realloc (*buffer, *size); > > Oops, I meant to use xrealloc there. FWIW, your current algorithm of adding BUFSIZ to size causes nonlinear amount of work done in realloc, for reading large files. You

Re: how to use module `stdlib'

2008-08-19 Thread Thien-Thi Nguyen
() Simon Josefsson <[EMAIL PROTECTED]> () Mon, 18 Aug 2008 12:38:40 +0200 > [Use gl_STDLIB_H?] No, add gl_EARLY and gl_INIT instead. They are in gnulib-*.m4, which should be generated by gnulib-tool. They set up the gnulib modules properly, and will invoke gl_STDLIB_H if necessar

Re: strverscmp

2008-08-19 Thread Eric Blake
Eric Blake byu.net> writes: > > Coreutils recently got bitten by the fact that developers on GNU/Linux machines > often don't realize that they needed #include "strverscmp.h". This fixes it, > and adds a unit test. Jim, okay to apply? > > Also available at 'git pull git://repo.or.cz/gnulib

Re: gc-gnulib: Windows initialization fixes

2008-08-19 Thread Simon Josefsson
Pushed. /Simon >From 5840dbbbf33d47e03b35f68b25223b3f8472e443 Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[EMAIL PROTECTED]> Date: Tue, 19 Aug 2008 17:58:08 +0200 Subject: [PATCH] lib/gc-gnulib.c: Indentation cleanup. Add some comments regarding Windows crypto stuff, from Mono. --- Change

strverscmp

2008-08-19 Thread Eric Blake
Coreutils recently got bitten by the fact that developers on GNU/Linux machines often don't realize that they needed #include "strverscmp.h". This fixes it, and adds a unit test. Jim, okay to apply? Also available at 'git pull git://repo.or.cz/gnulib/ericb.git strverscmp' >From 98dc152be970fe

gc-gnulib: Windows initialization fixes

2008-08-19 Thread Simon Josefsson
Pushed. >From 3c1548f0f31e41ec9e36e349094a59ea3702e08c Mon Sep 17 00:00:00 2001 From: Simon Josefsson <[EMAIL PROTECTED]> Date: Tue, 19 Aug 2008 17:02:58 +0200 Subject: [PATCH] Windows initialization fixes, tiny change from Adam Strzelecki <[EMAIL PROTECTED]>. lib/gc-gnulib.c: Use CRYPT_VERIFY_C

Re: snapshot in preparation for m4 1.4.12

2008-08-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Thomas Klausner on 8/14/2008 1:21 PM: > One failure on NetBSD-4.99.72/amd64: > test-frexp.c:113: assertion failed > [1] Abort trap (core dumped) EXEEXT="" EXEEXT... > FAIL: test-frexp Thanks for the report. Are you able to help us fix

Re: diversion failure [was: snapshot in preparation for m4 1.4.12]

2008-08-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Alain Guibert on 8/19/2008 4:40 AM: > Sure. There is a segfault on the test for large precisions, on > "%.4000d". On libc5 this format works well until "%.1020d", but > segfaults for "%.1021d" and above. Bruno, this looks like a vasnprint

Re: diversion failure [was: snapshot in preparation for m4 1.4.12]

2008-08-19 Thread Alain Guibert
Hello Eric, On Monday, August 11, 2008 at 20:57:53 -0600, Eric Blake wrote: > The real problem thus seems to be that the gnulib xvasprintf-posix > module is not working around this bug in your *printf family of > functions. Could you post config.log for more details on what > ./configure determ