Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2003 18:00:00 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include pwd.h src/lib/libc/gen getpwent.c src/usr.sbin/pwd_mkdb pwd_mkdb.c
Message-ID:  <20030420230000.GB32112@madman.celabo.org>
In-Reply-To: <20030420141848.K631@znfgre.tberna.bet>
References:  <200304181411.h3IEBH07088819@repoman.freebsd.org> <20030420141848.K631@znfgre.tberna.bet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 20, 2003 at 02:19:55PM -0700, Doug Barton wrote:
> I've already told Jacques that I'd look into the problem with named, but
> more generally, I doubt this will be our only problem child. Has this new
> code been regression tested against any other third party code?

I suppose no more or less than is expected for -CURRENT.

It happens that I don't use BIND8, so I missed this issue.  It
didn't occur to me that applications would use our internal
definitions. (Note the underscores in _PW_KEYBYNAME et. al.)
Moreover, it didn't occur to me that applications would not use
getpwent(3) and friends to access system databases.  (I believe this
is a bug in our BIND installation.)

For this particular issue, as described in the commit, I've reverted
these macros to the previous values in case there is any other code
that (ab)uses them.

As designed, the on-disk format is compatible, so e.g. static binaries
build against FreeBSD 3.x still function with /etc/pwd.db.

[ I may have misunderstood your question.  It's pretty much a no-no to
  commit code with no testing, even to -CURRENT.  Maybe you have
  something more specific in mind. ]

Cheers,
-- 
Jacques A. Vidrine <nectar@celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se



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