Re: sharutils-4.11 does not compile on Solaris

2011-04-19 Thread Bruce Korb
Hi Bruno, On 04/19/11 15:16, Bruno Haible wrote: I would say: *Thank you*. Nice, clear instructions!! 0. Install gettext 0.18.1 on the machine on which you build the releases, and write AM_GNU_GETTEXT_VERSION([0.18.1]) in your configure.ac. That doesn't appear to have been the problem

[PATCH] doc: update users.txt.

2011-04-19 Thread Giuseppe Scrivano
Another gnulib "victim". Cheers, Giuseppe >From a1b209180208e427f0e167e138963f2ff97ba73a Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 20 Apr 2011 00:49:54 +0200 Subject: [PATCH] doc: update users.txt. * users.txt: Add barcode. --- ChangeLog |5 + users.txt |1 + 2 f

Re: sharutils-4.11 does not compile on Solaris

2011-04-19 Thread Bruno Haible
Bruce Korb wrote: > What does that page mean that I should do with this bootstrap code: > >      ${glib} --import ${gnulib_libs} | tee import-log.txt >      echo "${extra_dist}" >> lib/Makefile.am >      test -f fdl.texi && mv fdl.texi doc/. >      autoreconf --force --install -Wall || true > > S

Re: sharutils-4.11 does not compile on Solaris

2011-04-19 Thread Bruce Korb
On 04/18/11 23:58, Bruno Haible wrote: Bruce Korb wrote: He ran gnulib-tool in February of 2011 and presumed that the latest and greatest would have been pulled in. The problem is in the sharutils/bootstrap script, which invokes 'autoreconf' after 'gnulib-tool'. This pitfall is now better docu

Re: blocking socket is nonblocking after calling gnulib select() in windows

2011-04-19 Thread Bruno Haible
Hi Ray, > Is the gnulib select() only intended to be used with nonblocking sockets on > windows? Certainly not. The unit test (tests/test-select.c) tests both the blocking as well as the non-blocking socket case. > Wget uses sockets that are typically blocking, but > on return from rpl_select(

Re: RFC socketpair

2011-04-19 Thread Bruno Haible
Bastien ROUCARIES wrote: > >  - You can pass command-line options and stdin, stdout to the child process; > >    file descriptors > 2 cannot be passed to child processes on Windows, I > > think. > Not sure about the last point see > http://msdn.microsoft.com/en-us/library/ms683463(v=vs.85).aspx Y

Re: blocking socket is nonblocking after calling gnulib select() in windows

2011-04-19 Thread Bastien ROUCARIES
Need to test but it seems I have something: SIO_ADDRESS_LIST_CHANGE (opcode setting: V, T==1) To receive notification of changes in the list of local transport addresses of the socket's protocol family to which the application can bind. No output information will be provided upon completion of thi

Re: blocking socket is nonblocking after calling gnulib select() in windows

2011-04-19 Thread Bastien ROUCARIES
On Tue, Apr 19, 2011 at 7:33 AM, Ray Satiro wrote: > Hi, > > > Thank you all for your continuous work on gnulib. Every time I look at it it's > evolving. > > Is the gnulib select() only intended to be used with nonblocking sockets on > windows? The Wget project has recently switched to gnulib's re

blocking socket is nonblocking after calling gnulib select() in windows

2011-04-19 Thread Ray Satiro
Hi, Thank you all for your continuous work on gnulib. Every time I look at it it's evolving. Is the gnulib select() only intended to be used with nonblocking sockets on windows? The Wget project has recently switched to gnulib's replacement select function in their dev builds. Wget uses sock

Re: RFC socketpair

2011-04-19 Thread Bastien ROUCARIES
On Tue, Apr 19, 2011 at 2:08 PM, Bruno Haible wrote: > Hello Bastien, > >> I do not know how to replace the fork() on windows. > > It's replaced by doing a spawn to a separate program. Take for example the > files >  modules/nonblocking-pipe-tests >  tests/test-nonblocking-pipe.sh >  tests/test-no

Re: RFC socketpair

2011-04-19 Thread Bruno Haible
Hello Bastien, > I do not know how to replace the fork() on windows. It's replaced by doing a spawn to a separate program. Take for example the files modules/nonblocking-pipe-tests tests/test-nonblocking-pipe.sh tests/test-nonblocking-pipe-main.c tests/test-nonblocking-pipe-child.c that w

Re: [PATCHv2 5/4] nonblocking: reduce dependency

2011-04-19 Thread Bruno Haible
Eric Blake wrote: > > From b7d23617875e1498f3b3ea8c6e6e31d6d9195bf9 Mon Sep 17 00:00:00 2001 > > From: Bruno Haible > > Date: Mon, 18 Apr 2011 02:34:47 +0200 > > Subject: [PATCH] Generalize close-hook to fd-hook. > > Looks nice. Thanks. I committed it after some more testing and cleanups. > Git

Re: [PATCH 1/4] nonblocking: provide O_NONBLOCK for mingw

2011-04-19 Thread Bruno Haible
Hi Eric, Thanks for the review. Eric Blake wrote: > > --- doc/posix-functions/open.texi.orig Sun Apr 17 23:18:36 2011 > > +++ doc/posix-functions/open.texi Sun Apr 17 23:08:20 2011 > > @@ -14,6 +14,10 @@ > > directory, on some platforms: > > FreeBSD 7.2, AIX 7.1, HP-UX 11.00, Solaris 9,

Re: [PATCH] init.sh docs: prefer AM_TESTS_SETUP to TESTS_ENVIRONMENT

2011-04-19 Thread Stefano Lattarini
On Sunday 17 April 2011, Stefano Lattarini wrote: > Hello Gnulibers. > > The latest developement version of Automake has finally implemented > the support for the developer-reserved variable `AM_TESTS_SETUP', > which can be used to run initialization code and set environment > variables for the te