Re: [hatari-devel] Hatari Mac freeze with RS232 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
On Samstag, 25. Mai 2019 02:09:17 CEST Eero Tamminen wrote:
> Current code does that change only for tty files, but for that
> check it needs to call fileno() before isatty()...
Another solution might be to change the code just to use open()/close() etc
directly, without the stdio FILE*. I guess you have to do a fflush() anyway
after writing (or set the fileto unbuffered), so there is not much benefit
from using a FILE.