From owner-cvs-lib Mon Apr 29 07:49:03 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA20118 for cvs-lib-outgoing; Mon, 29 Apr 1996 07:49:03 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA20083 Mon, 29 Apr 1996 07:48:49 -0700 (PDT) Date: Mon, 29 Apr 1996 07:48:49 -0700 (PDT) From: Bill Paul Message-Id: <199604291448.HAA20083@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/04/29 07:48:49 Modified: lib/libc/gen getpwent.c Log: Very minor tweak: In __initdb(), a failure to open the local password database is supposed to result in a warning message being syslog()ed. This warning is only supposed to be generated as long as the 'warned' flag hasn't been yet; once the warning is generated, the flag should be set so that the message is only syslog()ed once. However, while the state of the flag is checked properly, the flag's state is never changed, so you always get multiple warnings instead of just one. Pointed out by: Peter Wemm Revision Changes Path 1.33 +1 -1 src/lib/libc/gen/getpwent.c