Re: [hatari-devel] Possible bug in GEMDOS emulation: Failing write causes subsequent reads to fail

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Eero Tamminen schrieb:

Looking at the ferror() man page, errors indeed
require clearerr() call.

Does the attached (compile tested) patch look OK /
fix it?

I can confirm it fixes the issue for my minimal example as well as for
the actual program where I first observed it. Thank you.

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/