In ghc 2.08 running on Linux, if you try to do an openFile for writing
on a dangling symlink (a symlink that does not point at an existing
file), the openFile hangs in a tight loop. strace reveals the
following system calls:
open("Parser.hs", O_WRONLY|O_NOCTTY) = -1 ENOENT (No such file or directory)
open("Parser.hs", O_WRONLY|O_CREAT|O_EXCL|O_NOCTTY, 0666) = -1 EEXIST (File exists)
repeated over and over again forever.
Carl Witty
[EMAIL PROTECTED]
- Re: bug in ghc 2.08 openFile Carl R. Witty
- Re: bug in ghc 2.08 openFile Sigbjorn Finne
