Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 1999 09:47:27 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Jos Backus <Jos.Backus@nl.origin-it.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Two seem-to-be bugs with 3.0-SNAP
Message-ID:  <199901101747.JAA86041@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
:> >`pw user add' and `pw user mod' hang at the point of executing >
:>/usr/sbin/pwd_mkdb -C /etc/master.passwd
:
:Fixed by
:
:davidn      1999/01/08 02:52:39 PST
:
:  Modified files:
:    usr.sbin/pw          pw.c
:  Log:
:  Remove bogus file locking in main().
:
:  Revision  Changes    Path
:  1.11      +1 -13     src/usr.sbin/pw/pw.c
:
:-- 
:Jos Backus                          _/  _/_/_/    "Reliability means never
:Jos.Backus@nl.origin-it.com  _/_/   _/_/_/        use Std::Disclaimer;

    Ah, I missed that one.  pwd_mkdb was earlier modified to do locking
    (which it didn't do before).  So now that it does, programs that
    use it shoulds either use pwd_mkdb's -N option so they can hold their
    own lock all the way through, or not hold a lock.

						-Matt

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet 
                    Communications & God knows what else.
    <dillon@backplane.com> (Please include original email in any response)    

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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