svn commit: samba r9393 - in branches/SAMBA_4_0/source/lib/ldb:
common include
idra at samba.org
idra at samba.org
Thu Aug 18 16:27:09 GMT 2005
Author: idra
Date: 2005-08-18 16:27:09 +0000 (Thu, 18 Aug 2005)
New Revision: 9393
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9393
Log:
Fix ldb standalone build
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c 2005-08-18 16:18:48 UTC (rev 9392)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c 2005-08-18 16:27:09 UTC (rev 9393)
@@ -353,6 +353,7 @@
/* Allocate a structure to hold the exploded DN */
edn = ldb_dn_new(mem_ctx);
+ pdn = NULL;
/* Empty DNs */
if (dn[0] == '\0') {
Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb.h 2005-08-18 16:18:48 UTC (rev 9392)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb.h 2005-08-18 16:27:09 UTC (rev 9393)
@@ -348,6 +348,11 @@
unsigned num_handlers);
/* The following definitions come from lib/ldb/common/ldb_dn.c */
+
+#ifndef BOOL
+typedef int BOOL;
+#endif
+
BOOL ldb_dn_is_special(const struct ldb_dn *dn);
BOOL ldb_dn_check_special(const struct ldb_dn *dn, const char *check);
char *ldb_dn_escape_value(void *mem_ctx, struct ldb_val value);
More information about the samba-cvs
mailing list