Re: [patch][commit] EOF Handling for sid-io-stdio

"Frank Ch. Eigler" <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.