]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Disable the broken globbing support on MinGW.
authorTim Kientzle <kientzle@gmail.com>
Sun, 3 Jan 2010 06:28:36 +0000 (01:28 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 3 Jan 2010 06:28:36 +0000 (01:28 -0500)
SVN-Revision: 1794

tar/bsdtar.c

index 9c5cf5b3ce25488f7d2338e3da0ed2139487813d..d8f8286842e9cb4aa996a4471295b35e4695783e 100644 (file)
@@ -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))