Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 1996 07:48:49 -0700 (PDT)
From:      Bill Paul <wpaul>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/libc/gen getpwent.c
Message-ID:  <199604291448.HAA20083@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604291448.HAA20083>