This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, libfortran] Fix usage of secure_getenv with glibc 2.17


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

Attachment: secure_getenv.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]