[Patch, libfortran] PR 47802 Non-POSIX getpwuid_r
Tobias Burnus
tobias.burnus@physik.fu-berlin.de
Wed Feb 23 16:18:00 GMT 2011
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.)
More information about the Fortran
mailing list