id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
4156	globbing not switched off? interferes with substring matching	claus	igloo	"On windows, `ghc-pkg` needs to be linked with a `CRT_noglob.o` (setting `_CRT_glob` to `0`), so that it does not attempt its own globbing. 

That does not seem to happen anymore (no sign of `CRT_noglob` in the [http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-stable/58/8.html build log]).

Result is that substring matching does not work correctly. The effect seems to be masked in the testsuite because the substring matches there happen to expand to themselves (no matching files in the current directory):

In a `cmd.exe`:
{{{
>ghc-pkg --version
GHC package manager version 6.12.3

>dir
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: 6A99-2261

 Verzeichnis von C:\Users\claus\Desktop\tmp\alexy-husky-55d2d20\uuuu

27.06.2010  15:54    <DIR>          .
27.06.2010  15:54    <DIR>          ..
27.06.2010  15:54                 0 zlib
               1 Datei(en),              0 Bytes
               2 Verzeichnis(se), 380.470.370.304 Bytes frei

>ghc-pkg list *
C:/haskell/ghc/ghc-6.12.3\lib\package.conf.d:
    zlib-0.5.2.0

C:\Users\claus\AppData\Roaming\ghc\i386-mingw32-6.12.3\package.conf.d:

}}}"	bug	closed	normal		ghc-pkg	6.12.3	fixed			Windows	Unknown/Multiple	None/Unknown					
