Re: [hatari-devel] Hatari Mac freeze with RS232

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




On 5/25/19 3:02 PM, Thorsten Otto wrote:
On Samstag, 25. Mai 2019 02:09:17 CEST Eero Tamminen wrote:
You don't need one, any file should be fine for that test.

Well yes, but i fear i still can't test it. Too much missing there (a working
X enviroment amongst others ;)

But grepping through the headers i found that at least on netbsd, there is no
fileno_unlocked function and/or macro. The normal fileno() is just a macro
that accesses the _file member, without any locking.
>
On netbsd and openbsd, either that macro is used, or a library function
called, depending on a __isthreaded variable. Same applies to feof(),
ferror(), clearerr() etc. netbsd has a fileno_unlocked macro, but openbsd
doesn't.

Um.  In first paragraph you say that NetBSD doesn't have it, and in next
you say that it does have?  Did you mean FreeBSD with latter?


	- Eero




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