[Fwd: Bug#94739: ./.ghci -- isn't it dangerous?]

Volker Stolz stolz at I2.Informatik.RWTH-Aachen.DE
Mon Apr 30 09:22:49 EDT 2001


In local.glasgow-haskell-bugs, you wrote:
>fstat() (this is one reason why using access() is generally
>discouraged).  Using fstat() isn't particularly convenient from Haskell
>- there's Posix.getFdStatus, but we'd have to use the Posix openFile
>interface and fdToHandle.  Alternatively we also can check ownership of
>the directory.

And the ownership of .., and ../.. and ...
Hm. Maybe the best way would be to steal some C-code from things like
ssh and paste it. Michael keeps on mumbling something about a libflock,
whatever.
-- 
Abstrakte Syntaxträume.
Volker Stolz * stolz at i2.informatik.rwth-aachen.de * PGP + S/MIME




More information about the Glasgow-haskell-bugs mailing list