From: Jarkko Hietaniemi Date: Sat, 16 Mar 2002 16:11:49 +0000 (+0000) Subject: HP-UX has also endgrent_r/endpwent_r marked obsolete. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=efa45b016f1daccac9890930086f21fb53a44069;p=p5sagit%2Fp5-mst-13.2.git HP-UX has also endgrent_r/endpwent_r marked obsolete. p4raw-id: //depot/perl@15253 --- diff --git a/Porting/findrfuncs b/Porting/findrfuncs index 029bdd0..4254a7a 100644 --- a/Porting/findrfuncs +++ b/Porting/findrfuncs @@ -66,6 +66,8 @@ my $netdb_r_obsolete; if ($^O eq 'hpux') { delete $rfuncs{crypt_r}; delete $rfuncs{drand48_r}; + delete $rfuncs{endgrent_r}; + delete $rfuncs{endpwent_r}; delete $rfuncs{getgrent_r}; delete $rfuncs{getpwent_r}; delete $rfuncs{setlocale_r}; diff --git a/reentr.h b/reentr.h index be2f617..310fe97 100644 --- a/reentr.h +++ b/reentr.h @@ -24,6 +24,8 @@ #ifdef __hpux # undef HAS_CRYPT_R # undef HAS_DRAND48_R +# undef HAS_ENDGRENT_R +# undef HAS_ENDPWENT_R # undef HAS_GETGRENT_R # undef HAS_GETPWENT_R # undef HAS_SETLOCALE_R diff --git a/reentr.pl b/reentr.pl index efa0724..3c529b6 100644 --- a/reentr.pl +++ b/reentr.pl @@ -64,6 +64,8 @@ print <