-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 11/7/2006 6:40 AM: > Hi Eric, > > Sorry for the late remark. (I haven't been able to follow the tempname > thread.) > > In lib/tempname.c you added code that uses the function __gen_tempname from > libc if it is present. I assume this is for glibc? This __gen_tempname > function is not part of the public ABI of glibc: it is not listed in any > of the 'Versions' files in glibc-2.3.6 nor glibc-2.5. In fact, on a > glibc-2.3.6 system where glibc was built with sufficiently recent gcc > and binutils, the symbol is not exported:
Thanks for the information. I knew glibc provided source for __gen_tempname, but was unsure why even on Linux my configure snippet wasn't detecting it. > I think it is preferable to build a binary that is 1 KB bigger but > continues working after an OS upgrade. Hence this proposed patch. > > 2006-11-06 Bruno Haible <[EMAIL PROTECTED]> > > * lib/tempname.c (gen_tempname): Remove variant that invokes > __gen_tempname. > * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Don't test for __gen_tempname. Please apply. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFUJKz84KuGfSFAYARAuN9AKDF9mXxyKjzal25SltKAfR+G7IeiACgkCxs D7RXzVWQ02Ru15rYVpBHx20= =uhuR -----END PGP SIGNATURE-----
