X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/ba23556b247d1ca703e7e032603ace264e5314c3..d722968f91639a851375cb3aeb7df128909c0779:/pp_sys.c diff --git a/pp_sys.c b/pp_sys.c index 6bc9f8b..549ef5e 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -4771,8 +4771,6 @@ PP(pp_gpwent) register SV *sv; STRLEN n_a; struct passwd *pwent = NULL; -/* We do not use HAS_GETSPENT in pp_gpwent() but leave it here in the case - * somebody wants to write an XS to access the shadow passwords. --jhi */ # ifdef HAS_GETSPNAM struct spwd *spwent = NULL; # endif @@ -4900,9 +4898,6 @@ PP(pp_spwent) djSP; #if defined(HAS_PASSWD) && defined(HAS_SETPWENT) setpwent(); -# ifdef HAS_SETSPENT - setspent(); -# endif RETPUSHYES; #else DIE(aTHX_ PL_no_func, "setpwent"); @@ -4914,9 +4909,6 @@ PP(pp_epwent) djSP; #if defined(HAS_PASSWD) && defined(HAS_ENDPWENT) endpwent(); -# ifdef HAS_ENDSPENT - endspent(); -# endif RETPUSHYES; #else DIE(aTHX_ PL_no_func, "endpwent");