This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, libfortran] PR 47802 Non-POSIX getpwuid_r
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, Janne Blomqvist <blomqvist dot janne at gmail dot com>
- Date: Wed, 23 Feb 2011 17:18:15 +0100
- Subject: Re: [Patch, libfortran] PR 47802 Non-POSIX getpwuid_r
Janne Blomqvist wrote:
> 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?
OK, unless a build maintainer has objections.
Thanks for your patch and to Dave, who confirmed in the PR
that the patch works on HPUX.
Tobias
PS: I had used GCC_TRY_COMPILE_OR_LINK rather than AC_TRY_LINK
to increase the chance that it works with bare-iron targets, but
probably gfortran is not build on those and besides cache override
works. (Additionally, it is not the only link test.)