This is the mail archive of the
sid@sourceware.org
mailing list for the SID project.
Re: [patch][commit] EOF Handling for sid-io-stdio
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Dave Brolley <brolley at redhat dot com>
- Cc: sid at sources dot redhat dot com
- Date: Fri, 14 Jul 2006 16:57:25 -0400
- Subject: Re: [patch][commit] EOF Handling for sid-io-stdio
- References: <44B7F619.7040404@redhat.com>
Hi -
> I've committed this patch which corrects a problem with
> sid-io-stdio. Currently, when there is no data available to be
> read, the gloss component cannot distinguish this from EOF. [...]
Interesting, I vaguely recall intending that code to encode EOF the
same way C stdio does (value 0..255: valid data, value -1: eof). The
data pin is wide enough to do so unambiguously.
- FChE