summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-05-07 16:35:36 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-05-07 16:35:36 +0000
commitd722968f91639a851375cb3aeb7df128909c0779 (patch)
treeb86f7d8fc04670f97283b9d6c4e32222e0354d41 /pp_sys.c
parentba23556b247d1ca703e7e032603ace264e5314c3 (diff)
downloadperl-d722968f91639a851375cb3aeb7df128909c0779.tar.gz
Remove HAS_SETSPENT, HAS_GETSPENT, HAS_ENDSPENT,
because we do not use those. The HAS_GETSPNAM remains, though, because we still do use that. p4raw-id: //depot/cfgperl@6088
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 6bc9f8b3be..549ef5ec91 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");