Date: Tue, 14 Jul 1998 11:43:20 -0700 (PDT) From: patl@phoenix.volant.org To: IBS / Andre Oppermann <andre@pipeline.ch> Cc: Peter van Heusden <pvh@leftside.wcape.school.za>, freebsd-hackers@FreeBSD.ORG Subject: Re: Detecting the presence of threads (for a port) Message-ID: <ML-3.3.900441800.5885.patl@asimov> In-Reply-To: <35AB8CAB.4FF133B@pipeline.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
> We are not working on it, but working with it. Theres one really big > bug in Terry's patches (or in libc_r) that prevents ldif2ldap & co. > from working (you'll get empty ddb files). I reported that to Terry > but I don't know if he has fixed it yet. It looks like the original code makes some silly assumptions about uninitialized variables being set to zero. The following patches seemed to make it work for me. But I wouldn't be surprised if there are more uninitialized variable bugs... *** ldif2id2children.c.old Mon Jan 19 18:21:59 1998 --- ldif2id2children.c Wed Jun 24 22:30:39 1998 *************** *** 63,69 **** int dbnum; ID id; struct dbcache *db, *db2; ! Backend *be; struct berval bv; struct berval *vals[2]; Avlnode *avltypes = NULL; --- 63,69 ---- int dbnum; ID id; struct dbcache *db, *db2; ! Backend *be = NULL; struct berval bv; struct berval *vals[2]; Avlnode *avltypes = NULL; *** ldif2index.c.old Mon Jan 19 18:21:59 1998 --- ldif2index.c Wed Jun 24 22:04:58 1998 *************** *** 53,59 **** int lmax, lcur, indexmask, syntaxmask; int dbnum; unsigned long id; ! Backend *be; struct berval bv; struct berval *vals[2]; extern char *optarg; --- 53,59 ---- int lmax, lcur, indexmask, syntaxmask; int dbnum; unsigned long id; ! Backend *be = NULL; struct berval bv; struct berval *vals[2]; extern char *optarg; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-3.3.900441800.5885.patl>