Re: problem with getopt-gnu on solaris

2009-11-23 Thread Jean-Louis Martineau
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [please don't top-post on technical lists] According to Jean-Louis Martineau on 11/23/2009 5:17 AM: If was because off the following define: #define _LARGE_FILES 1 I removed it and it works. I had others bug because i

Re: problem with getopt-gnu on solaris

2009-11-23 Thread Jean-Louis Martineau
If was because off the following define: #define _LARGE_FILES 1 I removed it and it works. I had others bug because is not the first header loaded. Thanks for your replies. Jean-Louis Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jean-Louis Martineau on 11/19

problem with getopt-gnu on solaris

2009-11-21 Thread Jean-Louis Martineau
Hi, I updated my gnulib to git 841ad196dd3ca0fbc916b911449067417ac7a7cb and changed the getopt module to getopt-gnu. I get error when compiling on Solaris 10: "../gnulib/getopt.h", line 183: (struct) tag redeclared: option "../gnulib/getopt.h", line 232: identifier redeclared: getopt_long

gai_strerror

2007-01-31 Thread Jean-Louis Martineau
Hello, There is no message for the EAI_OVERFLOW error in gai_strerror. The getnameinfo can return the EAI_OVERFLOW error. Patch attached. Jean-Louis Index: lib/gai_strerror.c === --- lib/gai_strerror.c (revision 5025) +++ lib/gai_

gai_strerror and EAI_OVERFLOW

2007-01-31 Thread Jean-Louis Martineau
The gai_strerror function doesn't return an error message for the EAI_OVERFLOW error code. getnameinfo can return the EAI_OVERFLOW error. Patch attached. Jean-Louis Index: lib/gai_strerror.c === --- lib/gai_strerror.c (revision 50