On 11/20/10 9:55 AM, Marcelo Sousa wrote:
Hi,

I'm having currently a problem with System.Directory in my mac os.
   System Version:      Mac OS X 10.6.5
   Kernel Version:      Darwin 10.5.0

Prelude System.Directory>  let dirTest = do {dir<- getCurrentDirectory; 
doesDirectoryExist dir}
Prelude System.Directory>  dirTest
False

For comparison, I do not get this behavior on:

    Mac OS X:  10.5.8
    Darwin:    9.8.0
    GHC:       6.12.1
    directory: 1.0.1.0


I noticed also that I can't change the searchable field in the permissions 
record.

Prelude System.Directory>  getPermissions "."
Permissions {readable = True, writable = True, executable = True, searchable = 
False}

Again for comparison, the following works fine for me:

    getPermissions "." >>= \x -> return x {searchable = True}

--
Live well,
~wren
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to