RE: GHCI crashes without error message

28 Apr
2005
28 Apr
'05
4:45 a.m.
On 27 April 2005 18:11, Tony Finch wrote:
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.
Thanks, well spotted. I've updated that comment. Cheers, Simon
7327
Age (days ago)
7327
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow