]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slaptest.c
ITS#7588 fix double-free for sorted paged search
[openldap] / servers / slapd / slaptest.c
index fc72e852c2b79eadd28ae6b1a91be29b5547c397..995b603f4044c99bb457b8562ac5c41e7f0da471 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2004-2009 The OpenLDAP Foundation.
+ * Copyright 2004-2013 The OpenLDAP Foundation.
  * Portions Copyright 2004 Pierangelo Masarati.
  * All rights reserved.
  *
 
 #include "slapcommon.h"
 
+#ifndef S_IWRITE
+#define S_IWRITE       S_IWUSR
+#endif
+
 static int
 test_file( const char *fname, const char *ftype )
 {