summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getpwent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r--lib/libc/gen/getpwent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index f46683f..9263002 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -255,6 +255,8 @@ endpwent()
_ypcache = (DB *)NULL;
_yp_exclusions = 0;
}
+ /* Fix for PR #12008 */
+ _yp_enabled = -1;
#endif
}
OpenPOWER on IntegriCloud