GHCI crashes without error message
Tony Finch
dot at dotat.at
Wed Apr 27 13:11:05 EDT 2005
On Wed, 27 Apr 2005, Lemmih wrote:
>
> From the Network documentation
> (http://haskell.org/ghc/docs/latest/html/libraries/network/Network.html):
> "
> SIGPIPE
>
> On Unix, when reading from a socket and the writing end is closed by
> the remote client, the program is normally sent a SIGPIPE signal by
> the operating system.
Um, that's the wrong way round. In the situation described above the
program gets EOF. SIGPIPE is generated when the program *writes* to a
socket whose other end has been closed.
Tony.
--
f.a.n.finch <dot at dotat.at> http://dotat.at/
BISCAY: WEST 5 OR 6 BECOMING VARIABLE 3 OR 4. SHOWERS AT FIRST. MODERATE OR
GOOD.
More information about the Glasgow-haskell-users
mailing list