#4156: globbing not switched off? interferes with substring matching
---------------------------------+------------------------------------------
Reporter: claus | Owner:
Type: bug | Status: new
Priority: normal | Component: ghc-pkg
Version: 6.12.3 | Keywords:
Os: Windows | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
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:
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4156>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs