On 09/06/2010 11:30 PM, Bruno Haible wrote:
Hi Lorenzo,
checking for working GNU getopt function... no
it looks kind of strange that getopt test fails under GNU Linux...
(indeed, this way, the gnulib version of getopt is used, instead of GNU
libc version)
If you want to know why: The fixes that each gnulib module brings are
documented at<http://www.gnu.org/software/gnulib/manual/>. In particular,
for the 'getopt' function, we document this:
<http://www.gnu.org/software/gnulib/manual/html_node/getopt.html>
And yes, there is also one bug that affects glibc<= 2.11, in this list.
For reference, the glibc bugs are here:
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11039
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11040
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11041
Bruno
Thus, since I'm using glibc 2.11.1 the gnulib version of getopt fixes
the problem right?
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com