Posix.getFileStatus

Simon Marlow simonmar at microsoft.com
Fri Feb 28 05:29:57 EST 2003


> (1) I think Posix.getFileStatus should respond to a file 
> which isn't there with something rather more helpful than
> "system error".   For example, a "No such file or directory" message.

With today's CVS sources:

Prelude> System.Posix.getFileStatus "/tmp/foo"
Loading package unix ... linking ... done.
*** Exception: does not exist
Action: getFileStatus
Reason: No such file or directory

The posix library is undergoing a rewrite, which is about 80-90% done so
far.  I'd appreciate any testing you can subject the new System.Posix
library to, though.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list