scsh-users
[Top] [All Lists]

Re: maybe read-string/partial bug??

To: robert.brown@gs.com
Subject: Re: maybe read-string/partial bug??
From: shivers@cc.gatech.edu
Date: Wed, 30 May 2001 10:34:36 -0400
Cc: scsh-bugs@zurich.ai.mit.edu
Reply-to: shivers@cc.gatech.edu
   I think I was questioning the generation of an exception for this particular
   condition.  It didn't appear to be severe or exceptional enough to me when I
   was looking at the code.  Seems more reasonable now, however.

Yes, I agree that it is a gray area. "Connection closed" in most circumstances
just means end-of-file. But if the syscall *doesn't* raise an exception, and
just returns EOF, then you've forever lost the ability to make the
distinction -- baked into the API.
    -Olin

<Prev in Thread] Current Thread [Next in Thread>