[Patch, libfortran] Fix usage of secure_getenv with glibc 2.17
Janne Blomqvist
blomqvist.janne@gmail.com
Sat Oct 6 21:00:00 GMT 2012
Hi,
glibc 2.17 has renamed the exported but ostensibly private symbol
__secure_getenv to secure_getenv. The attached patch updates
libgfortran to first check for the presence of this new symbol. See
http://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv for
more details.
Committed as obvious.
2012-10-06 Janne Blomqvist <jb@gcc.gnu.org>
* configure.ac: Check for presence of secure_getenv.
* libgfortran.h: Use HAVE_SECURE_GETENV.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.
--
Janne Blomqvist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: secure_getenv.diff
Type: application/octet-stream
Size: 1358 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121006/8e053755/attachment.obj>
More information about the Gcc-patches
mailing list