From c598b0ac143bfcf4b8847e17fa8cc5883fca93e5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 17 Jan 2004 19:31:09 +0000 Subject: [PATCH] Cygwin fix --- clients/tools/ldapsearch.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index bc63175039..81160b10e9 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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 ) -- 2.39.5