[project @ 2000-05-11 13:15:38 by simonmar]
authorsimonmar <unknown>
Thu, 11 May 2000 13:15:38 +0000 (13:15 +0000)
committersimonmar <unknown>
Thu, 11 May 2000 13:15:38 +0000 (13:15 +0000)
commit0eb4bba10f3d6c9143d73fb8cadb11eba1a5dbd9
tree7ac7aa7d4282ac02f7936430ad8a781fccc6e8fc
parent3baf75550726b484e03e69d9378384d8b45f8052
[project @ 2000-05-11 13:15:38 by simonmar]
Don't open with O_NONBLOCK, instead open in blocking mode and set
O_NONBLOCK subsequently with fcntl().  This appears to fix the
problems with FIFOs.

Pick one of the following:

- the semantics as implemented by Linux & Solaris is broken
- the POSIX semantics is broken
- our expectation that things should behave sensibly is unreasonable
ghc/lib/std/cbits/openFile.c