Re: [bug-gnulib] nanosleep module and mingw32

2006-05-18 Thread Martin Lambers
On Thu, May 18, 2006 at 10:23:49PM +0200, Bruno Haible wrote: > > +#ifdef _WIN32 > > The conditional for Woe32 platforms, excluding Cygwin (which has normal Unix > API), > is >#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ Sorry, I somehow missed your mail about Cygwin defi

Re: Cygwin && WIN32

2006-05-18 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > In other places I used to define WIN32 as an abbreviation of > defined _WIN32 || defined __WIN32__ > Now I'm renaming that to WIN32_NATIVE. Would WOE32_NATIVE be a better name?

Re: getloadavg module broken

2006-05-18 Thread Ralf Wildenhues
Hi Jim, Bruno, * Jim Meyering wrote on Fri, May 19, 2006 at 12:08:46AM CEST: > Bruno Haible <[EMAIL PROTECTED]> wrote: > > > > The module description of module 'getloadavg' appears to be missing the > > lib/getloadavg.c source file. > > configure: error: ././getloadavg.c is missing > That is bec

Re: getloadavg module broken

2006-05-18 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: > Hi Jim, > > The module description of module 'getloadavg' appears to be missing the > lib/getloadavg.c source file. > > To reproduce: > $ ./gnulib-tool --dir=/smb/orlando/gnuprog/testdir --create-testdir > `./gnulib-tool --list` > ... > checking for workin

Re: nanosleep module and mingw32

2006-05-18 Thread Simon Josefsson
Martin Lambers <[EMAIL PROTECTED]> writes: > Hi, > > I get the following error when using the nanosleep module and > crosscompiling to W32 with the Debian mingw32 package and > ./configure --host=i586-mingw32msvc : > > ../gnulib/libgnu.a(nanosleep.o):nanosleep.c:(.text+0x64): undefined reference

Re: [bug-gnulib] nanosleep module and mingw32

2006-05-18 Thread Bruno Haible
Hello, > I get the following error when using the nanosleep module and > crosscompiling to W32 with the Debian mingw32 package and > ./configure --host=i586-mingw32msvc : > > ../gnulib/libgnu.a(nanosleep.o):nanosleep.c:(.text+0x64): undefined > reference to `_select' > > The attached patch fixes t

getloadavg module broken

2006-05-18 Thread Bruno Haible
Hi Jim, The module description of module 'getloadavg' appears to be missing the lib/getloadavg.c source file. To reproduce: $ ./gnulib-tool --dir=/smb/orlando/gnuprog/testdir --create-testdir `./gnulib-tool --list` ... checking for working getline function... yes configure: error: ././getloadavg

nanosleep module and mingw32

2006-05-18 Thread Martin Lambers
Hi, I get the following error when using the nanosleep module and crosscompiling to W32 with the Debian mingw32 package and ./configure --host=i586-mingw32msvc : ../gnulib/libgnu.a(nanosleep.o):nanosleep.c:(.text+0x64): undefined reference to `_select' The attached patch fixes this for me. Re

Re: [patch] 5.95: getgrouplist

2006-05-18 Thread Jim Meyering
Tim Waugh <[EMAIL PROTECTED]> wrote: > Here is a patch that makes use of getgrouplist() if it is available, > for better efficiency. Hi Tim, Thanks for posting that. Making this improvement is mentioned in the TODO file, but there's a caveat. Using getgrouplist on libc-2.3.2 is documented to fai

Re: fix for stdint.h on Cygwin

2006-05-18 Thread Bruno Haible
Eric Blake wrote: > why is it needed? Cygwin's > stdint.h has had all the necessary types for several releases > now, and people compiling against older versions are > encouraged to upgrade their cygwin installation, rather > than propagating workarounds in other packages. You can say the same th

Cygwin && WIN32

2006-05-18 Thread Bruno Haible
Hi, In recent Cygwin some header files (especially ) define the preprocessor macros _WIN32 and WIN32. This wasn't the case a few years ago. We have used WIN32 as meaning "use the Win32 API". But this is not what we want to do on Cygwin - except in very few cases. So I'm changing some code to use