Re: close vs socket vs getline

2009-03-23 Thread Simon Josefsson
Bruno Haible br...@clisp.org writes: Some ideas: 1) Should the sockets.m4 module unconditionally add LIBSOCKET to LDADD? 2) Should the gnulib-tool generated Makefile.am add LIBSOCKET to LDADD? No, LDADD has an effect on all executables. I don't want to link all my programs against

Re: close vs socket vs getline

2009-03-20 Thread Bruno Haible
Simon Josefsson wrote: This may have been discussed before, but I don't recall a solution, so maybe a new report will help. Yes, in the meantime we all had time to think about it. i586-mingw32msvc-gcc -g -O2 -o test-getdelim.exe test-getdelim.o ../gllib/libgnu.a

close vs socket vs getline

2009-03-19 Thread Simon Josefsson
This may have been discussed before, but I don't recall a solution, so maybe a new report will help. Gsasl and gnutls uses the close, socket and getline modules from gnulib. I get a problem when building gnulib's self-tests for mingw. You can reproduce it by using: rm -rf m gnulib-tool