summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-05-02 00:06:38 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-05-02 00:06:38 +0000
commita1757be16722fb4efed43c4f1cab6f947ea4d86f (patch)
treea568a38ae464ec5c6b17474012e8c822325aed87 /pp_sys.c
parent4d46a988fb57e00fb9da4a6d7b635516b5f56306 (diff)
downloadperl-a1757be16722fb4efed43c4f1cab6f947ea4d86f.tar.gz
pwent/spent #ifdef imbalance.
p4raw-id: //depot/cfgperl@6038
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 79938fb180..765b0bc8ce 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -4821,11 +4821,11 @@ PP(pp_gpwent)
PUSHs(sv = sv_mortalcopy(&PL_sv_no));
# ifdef HAS_GETSPNAM
if (spwent)
- sv_setpv(sv, spwent->sp_pwdp);
+ sv_setpv(sv, spwent->sp_pwdp);
else
- sv_setpv(sv, pwent->pw_passwd);
+ sv_setpv(sv, pwent->pw_passwd);
# else
- sv_setpv(sv, pwent->pw_passwd);
+ sv_setpv(sv, pwent->pw_passwd);
# endif
# ifndef INCOMPLETE_TAINTS
/* passwd is tainted because user himself can diddle with it. */
@@ -4853,8 +4853,9 @@ PP(pp_gpwent)
# ifdef PWQUOTA
sv_setiv(sv, (IV)pwent->pw_quota);
# else
-# ifdef PWAGE
+# ifdef PWAGE
sv_setpv(sv, pwent->pw_age);
+# endif
# endif
# endif