Re: Winsock wrappers

2008-10-08 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Hi Simon, > >> I have seen Bruno's recent patch to add separate modules for each and >> every socket function. That's a better approach IMHO. >> >> Further, as far as I can tell, Bruno's gnulib module descriptions will >> pull in the winsock file when n

Re: [PATCH] use gnulib modules close (new) and open to hook into open/close

2008-10-08 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: >> The Winsock replacement of close is triggered by the socket and accept >> modules. > > I prefer and propose to not trigger the 'close' module from 'socket' or > 'accept', and instead - just like for select - rely on the link error or > the warning of som

Re: Winsock wrappers

2008-10-08 Thread Bruno Haible
Hi Simon, > I have seen Bruno's recent patch to add separate modules for each and > every socket function. That's a better approach IMHO. > > Further, as far as I can tell, Bruno's gnulib module descriptions will > pull in the winsock file when needed. That's because Paolo and I are not yet com

Re: [PATCH] use gnulib modules close (new) and open to hook into open/close

2008-10-08 Thread Bruno Haible
Hello Paolo, Thank you for going ahead with this close() replacements merge! Faster than I could do it. Nice how you created the _gl_register_fd hook in the fchdir replacement. > The Winsock replacement of close is triggered by the socket and accept > modules. I prefer and propose to not trigge

fix test-getdate link error

2008-10-08 Thread Bruno Haible
Hi, While testing coreutils-7.0 on Cygwin, test-getdate did not link: gcc -std=gnu99 -g -O2 -Wl,--as-needed -o test-getdate.exe test-getdate.o libtests.a ../lib/libcoreutils.a libtests.a ../lib/libcoreutils.a(xalloc-die.o): In function `xalloc_die': /cygdrive/c/Export/gnuprog/coreutils-7.0/

Re: [PPL-devel] User-visible changes to lib-link.m4 and lib-prefix.m4

2008-10-08 Thread Bruno Haible
Hi Roberto, > However, the problem we observe is not in the location of the library. The problem should go away if, on Linux/x86_64 systems, you use --prefix=PREFIX --libdir=PREFIX/lib64 when installing the gmp library or, as a simple measure afterwards, copy or symlink lib to lib64. > The pro

Re: bootstrap is broken

2008-10-08 Thread Debarshi Ray
>> This particular change due to 29dd8b5548ce047ce51ff9a73d6c4b50c9886771 >> has broken bootstrap for the particular use case where it is invoked >> using an absolute path (eg., >> /devel/gnulib/git/gnulib/build-aux/bootstrap --skip-po >> --gnulib-srcdir=/devel/gnulib/git/gnulib): > How does it fa

Re: [PATCH] use gnulib modules close (new) and open to hook into open/close

2008-10-08 Thread Simon Josefsson
Paolo Bonzini <[EMAIL PROTECTED]> writes: > The Winsock replacement of close is triggered by the socket and accept > modules. I like how you moved the definition of close from sys/socket.h to unistd.h, that's where it belongs according to opengroup. +1 from me on the sys_socket/select side, can'

Re: [PPL-devel] User-visible changes to lib-link.m4 and lib-prefix.m4

2008-10-08 Thread Roberto Bagnara
Bruno Haible wrote: We discovered, though, that things stop working for us in passing from the versions distributed with with Gettext 0.14.6 to the versions distributed with Gettext 0.15. The change between lib-link.m4 of version 0.14.6 and 0.15 is that before, it assumed the libraries to be in

Winsock wrappers

2008-10-08 Thread Simon Josefsson
With GnuTLS 2.6.0 released, I finally have time to look into the winsock wrappers. This patch: > --- a/m4/sys_socket_h.m4 > +++ b/m4/sys_socket_h.m4 > @@ -64,6 +64,9 @@ AC_DEFUN([gl_HEADER_SYS_SOCKET], > HAVE_WS2TCPIP_H=0 >fi > fi > +if test x$ac_cv_header_winsock2_h = x

Re: GNUmakefile: git-version-gen, maintainer-check, install

2008-10-08 Thread Eric Blake
Ralf Wildenhues gmx.de> writes: > * Eric Blake wrote on Wed, Aug 27, 2008 at 04:38:00PM CEST: [Revisiting an older thread] > > > > Well, I tried to make it a hard error, so that it would be the only > > > > output, but others on the list convinced me to reduce it back to a > > > > warning. I d

Re: User-visible changes to lib-link.m4 and lib-prefix.m4

2008-10-08 Thread Bruno Haible
Dear Prof. Bagnara, > We discovered, though, that things stop working for us > in passing from the versions distributed with with Gettext 0.14.6 > to the versions distributed with Gettext 0.15. The change between lib-link.m4 of version 0.14.6 and 0.15 is that before, it assumed the libraries to b

Re: Project management and code quality tools

2008-10-08 Thread Simon Josefsson
[EMAIL PROTECTED] writes: >What happened here was that I took pmccabe2html from GNUPDF, made it >project-independent (small changes but possibly more than 10 lines), and >put it into gnulib. Jose is already using gnulib, so it is probably >simpler for him to pull pmccabe2html from

Re: Project management and code quality tools

2008-10-08 Thread jemarch
What happened here was that I took pmccabe2html from GNUPDF, made it project-independent (small changes but possibly more than 10 lines), and put it into gnulib. Jose is already using gnulib, so it is probably simpler for him to pull pmccabe2html from gnulib and send patches for pm

Re: Project management and code quality tools

2008-10-08 Thread Simon Josefsson
"Richard M. Stallman" <[EMAIL PROTECTED]> writes: > Richard, an issue came up related to gnulib: I want to move a module > from GNUPDF written by Jose E. Marchesi <[EMAIL PROTECTED]> (I have his > permission to do so). The code is copyrighted by the FSF, Jose signed > papers for G