[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] tw-call.app bug when toswin2.app is missing
Hello.
It seems that there is a bug in tw-call.app when toswin2.app is not found.
Look there, at the end of the find_tw() function:
http://sparemint.atariforge.net/cgi-bin/cvsweb/freemint/tools/toswin2/tw-call/tw-call.c?rev=1.7&content-type=text/x-cvsweb-markup
The code calls shel_write(1, 1, 1, ...) to run toswin2.app, then it assumes
that the return value is the app_id. However, it seems that when toswin2.app
is missing, the returned value is also non-null. Then things goes wrong.
Also, is that evnt_timer(500L) really useful?
Could some AES guru look at that code, please?
--
Vincent Rivière