cvs commit: src/include pwd.h src/lib/libc/gen getpwent.c src/usr.sbin/pwd_mkdb pwd_mkdb.c

Jacques A. Vidrine nectar at FreeBSD.org
Mon Apr 21 08:46:18 PDT 2003


On Mon, Apr 21, 2003 at 07:23:28PM +0400, Andrey A. Chernov wrote:
> On Mon, Apr 21, 2003 at 09:02:43 -0500, Jacques A. Vidrine wrote:
> > 
> > The entire `struct compat_state st' structure is initialized to zeros
> > when allocated via calloc, so that's not it.
> 
> st->exclude initializer (i.e. compat_exclude()) is called only for '-' 
> entries, but I have no such things. It means that st->exclude must be 
> NULL, but it isn't.
>
> Another thing is that gdb can be off one line, so it caused by previous
> line.  I'll try to insert some debugging printfs...

No, I meant `calloc' initializes `st' to zeros.
But, I think I found it.  I could not reproduce your problem, but
I found something in that area that was definitely wrong.  Can you
please try revision 1.2 of src/lib/libc/include/nss_tls.h ?

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


More information about the cvs-all mailing list