[project @ 2005-03-19 02:03:26 by sof]
authorsof <unknown>
Sat, 19 Mar 2005 02:03:28 +0000 (02:03 +0000)
committersof <unknown>
Sat, 19 Mar 2005 02:03:28 +0000 (02:03 +0000)
commitcbe4c3a7cc2b1e627b308aff520a9f354f7a730b
tree554a61d689291c4f4b24e7723660b0cdd98f5fd3
parentc0eed017436c7d36dd163547ea95d3f8b36645d4
[project @ 2005-03-19 02:03:26 by sof]
[Windows only]
for System.Directory / Compat.Directory functionality that probes the OS
for local details re: misc user directories, perform late binding of
SHGetFolderPath() from shell32.dll, as it may not be present.
(cf. ghc-6.4's failure to operate on Win9x / NT boxes.) If the API isn't
there, fail with UnsupportedOperation.
Packages.readPackageConfigs: gracefully handle excns from getAppUserDataDirectory.

Merge to STABLE.
ghc/compiler/main/Packages.lhs
ghc/lib/compat/Compat/Directory.hs
ghc/lib/compat/Makefile
ghc/lib/compat/cbits/directory.c
ghc/lib/compat/include/directory.h [new file with mode: 0644]