From owner-cvs-all Sat Oct 16 5:31:58 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 81D6214A25; Sat, 16 Oct 1999 05:31:55 -0700 (PDT) (envelope-from ache@FreeBSD.org) Received: (from ache@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA32549; Sat, 16 Oct 1999 05:31:55 -0700 (PDT) (envelope-from ache@FreeBSD.org) Message-Id: <199910161231.FAA32549@freefall.freebsd.org> From: "Andrey A. Chernov" Date: Sat, 16 Oct 1999 05:31:50 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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