Date: Sat, 16 Oct 1999 05:31:50 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getpwent.c Message-ID: <199910161231.FAA32549@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 1999/10/16 05:31:50 PDT
Modified files:
lib/libc/gen getpwent.c
Log:
YP/NIS code: remove unnecessary endgrent() calls which can cause fail on
next try over chroot (descriptor closed). getgrnam() used already handles
endgrent() properly and honors _gr_stayopen. Automatically call
setgroupent(1) when _pw_stayopen is set (for YP/NIS code).
Revision Changes Path
1.53 +4 -6 src/lib/libc/gen/getpwent.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910161231.FAA32549>
