From: Tim Kientzle Date: Sun, 3 Jan 2010 06:28:36 +0000 (-0500) Subject: Disable the broken globbing support on MinGW. X-Git-Tag: v2.8.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c60f73790b499f7d41a9464faf30fe856112f8ed;p=thirdparty%2Flibarchive.git Disable the broken globbing support on MinGW. SVN-Revision: 1794 --- diff --git a/tar/bsdtar.c b/tar/bsdtar.c index 9c5cf5b3c..d8f828684 100644 --- a/tar/bsdtar.c +++ b/tar/bsdtar.c @@ -85,6 +85,10 @@ __FBSDID("$FreeBSD: src/usr.bin/tar/bsdtar.c,v 1.93 2008/11/08 04:43:24 kientzle #define _PATH_DEFTAPE "/dev/tape" #endif +#ifdef __MINGW32__ +int _CRT_glob = 0; /* Disable broken CRT globbing. */ +#endif + static struct bsdtar *_bsdtar; #if defined(HAVE_SIGACTION) && (defined(SIGINFO) || defined(SIGUSR1))