]> git.sur5r.net Git - openldap/commitdiff
ITS#2922 disable argument globbing under Cygwin and MinGW.
authorHoward Chu <hyc@openldap.org>
Thu, 15 Jan 2004 21:27:32 +0000 (21:27 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 15 Jan 2004 21:27:32 +0000 (21:27 +0000)
clients/tools/ldapsearch.c

index 87a9a97e5ca8871a4b7bb06e99b2d06554943326..187e168f9825667563c93f5cecd73325bec08275 100644 (file)
@@ -79,6 +79,12 @@ static int sizelimit = -1;
 static char *def_tmpdir;
 static char *def_urlpre;
 
+#if defined(__CYGWIN__) || defined(__MINGW32__)
+/* Turn off commandline globbing, otherwise you cannot search for
+ * attribute '*'
+ */
+int _CRT_glob = 0;
+#endif
 
 void
 usage( void )