I believe that this should now be fixed.

Be aware that the current stdio implementation is a place-holder until we
get literal instantiation done.

On Wed, Dec 3, 2008 at 5:00 PM, Thomas Kuehne <[EMAIL PROTECTED]> wrote:

>
> bitc_stdio_read_byte and bitc_stdio_write_byte check success via
> fread/fwrite < 0, however both have the return type size_t and thus
> the check never fails. It should be 1 instead of 0 in both cases.
>
> In addition neither of them check if the file actually is open
> (NULL == ios->f) and thus segfault if the stream has been closed.
>
> Thomas
> _______________________________________________
> bitc-dev mailing list
> [email protected]
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
>
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to