projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
MM_Unix.pm : work around File::Find problem on VMS
[p5sagit/p5-mst-13.2.git]
/
pp_sys.c
diff --git
a/pp_sys.c
b/pp_sys.c
index
200ed94
..
88f45c3
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-5212,6
+5212,9
@@
PP(pp_gpwent)
case OP_GPWENT:
# ifdef HAS_GETPWENT
pwent = getpwent();
+#ifdef POSIX_BC /* In some cases pw_passwd has invalid addresses */
+ if (pwent) pwent = getpwnam(pwent->pw_name);
+#endif
# else
DIE(aTHX_ PL_no_func, "getpwent");
# endif