[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Build of current OPENLDAP_REL_ENG_2 fails



Michael Ströder wrote:
> 
> HI!
> 
> Build of current release branch fails:
> 
> cc -I/usr/local/krb5/include -I /usr/local/Berkeley-DB/include -O3
> -I../../../include -I../../../include -I.. -I./..
> -I/usr/local/krb5/include -I /usr/local/Berkeley-DB/include -O3 -c
> modrdn.c -o modrdn.o
> modrdn.c: In function `ldbm_back_modrdn':
> modrdn.c:377: `desc' undeclared (first use in this function)
> modrdn.c:377: (Each undeclared identifier is reported only once

Code in HEAD has been improved by postponing allocation after
successful check.  Perhaps we should apply the whole patch to
REL_ENG code.  However the current fix by Kurt is OK in that
it compiles and behaves correctly. However I think it leaks 
a Modifications structure in case the access test fails.

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati