Re: vasnprintf does not preserve anymore errno

2010-10-14 Thread Bruno Haible
Hi, Gianluigi Tiesi wrote: > some time ago a change was added to vasnprintf, right now the line is: > 4958 in vasnprintf.c > > errno = 0 > > but it's never saved before, so I lose errno Indeed, POSIX says in "

Re: socketlib missing dep on sys_socket

2010-10-14 Thread Bruno Haible
Hi Ian, > gnulib-tool --test socketlib fails with: > > > configure:3552: error: possibly undefined macro: gl_PREREQ_SYS_H_WINSOCK2 > > Adding a dependency on sys_socket fixes it. Trivial patch attached. The 'socketlib' module needs just the gl_PREREQ_SYS_H_WINSOCK2, not the header. Therefore i

socketlib missing dep on sys_socket

2010-10-14 Thread Ian Beckwith
Hi, gnulib-tool --test socketlib fails with: > configure:3552: error: possibly undefined macro: gl_PREREQ_SYS_H_WINSOCK2 Adding a dependency on sys_socket fixes it. Trivial patch attached. cheers, Ian. -- Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/ GPG fingerprint: AF6C C0F1

vasnprintf does not preserve anymore errno

2010-10-14 Thread Gianluigi Tiesi
some time ago a change was added to vasnprintf, right now the line is: 4958 in vasnprintf.c errno = 0 but it's never saved before, so I lose errno Regards -- Gianluigi Tiesi EDP Project Leader Netfarm S.r.l. - http://www.netfarm.it/ Free Software: http://oss.netfarm.it/ Q: Because it revers

Re: [PATCH] test-select-stdin.c: avoid warn_unused_result warnings

2010-10-14 Thread Jim Meyering
Jim Meyering wrote: > Hi Bruno, > > Is this ok with you? Since this is merely making test-select-stdin.c consistent with its much-larger parent, test-select.c, and doesn't even require an added dependency or File:/macros.h listing, I think it is uncontroversial. Pushed. I hope that's ok. > With