[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
late declaration of variable (2.3, backglue.c)
I need the patch below (since 2.3.37, maybe before) to be able to compile
backglue.c on gcc 2.9x.
Regards,
Buchan
--- servers/slapd/backglue.c Thu Aug 23 14:48:24 2007
+++ servers/slapd/backglue.c.latedeclaration Thu Aug 23 14:44:22 2007
@@ -619,9 +619,9 @@
int rw,
Entry **e )
{
- int rc;
BackendDB *b0 = op->o_bd;
op->o_bd = glue_back_select( b0, dn );
+ int rc;
if ( op->o_bd->be_fetch ) {
rc = op->o_bd->be_fetch( op, dn, oc, ad, rw, e );