globbing not switched off? interferes with substring matching
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 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:
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | ghc-pkg |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |