-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Sergey Poznyakoff on 9/26/2009 4:04 PM: > Eric Blake <e...@byu.net> ha escrit: > >> Maybe the trick is to check whether _getopt_long_only_r is present to the >> linker, in which case we can provide our own declaration of it > > Yes, but we cannot guarantee our declaration matches the actual function > definition.
But I doubt that interface has ever changed signature in glibc, and is not available anywhere else. I agree that we can't guarantee things, but it seems like only a theoretical worry that we would declare it differently than the underlying implementation, and it also seems like something that our testsuite should be able to catch. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkq+kYgACgkQ84KuGfSFAYCOpgCfdy47G5cn7cdPaEycTdqqyday DVQAnRkrK3y6kLnNm0+js+Li9FU1gpGb =L/y8 -----END PGP SIGNATURE-----