[Patch, libfortran] PR 47802 Non-POSIX getpwuid_r

Janne Blomqvist blomqvist.janne@gmail.com
Tue Feb 22 20:22:00 GMT 2011


Hi,

the attached patch fixes the second part of the bootstrap failure on
HP-UX 10.2. That target provides a non-POSIX getpwuid_r function which
has one argument less than the POSIX version. The patch adds a
configure test for this.

Regtested on x86_64-unknown-linux-gnu, Ok for trunk?

2011-02-22  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libfortran/47802
	* configure.ac: Add test for POSIX getpwuid_r.
	* intrinsics/getlog.c (getlog): CPP test for
	HAVE_POSIX_GETPWUID_R.
	* config.h.in: Regenerated.
	* configure: Regenerated.



-- 
Janne Blomqvist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getlog.diff
Type: text/x-patch
Size: 1838 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110222/552c4371/attachment.bin>


More information about the Fortran mailing list