logo       

RE: Posix.getFileStatus: msg#00078

lang.haskell.glasgow.bugs

Subject: RE: Posix.getFileStatus


> (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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise