Re: [hatari-devel] Fforce() fails with GEMDOS drive emulation

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


Hi,

On torstai 14 maaliskuu 2013, Thomas Huth wrote:
> schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> IIRC there is an official method for determine the current running
> GEMDOS process - the "p_run" system variable. Hatari already keeps a
> pointer to its location in the "act_pd" variable. So you could try to
> find out the corresponding process via that variable?

When testing, that seems to work OK, so I commited the change:
http://hg.tuxfamily.org/mercurialroot/hatari/hatari/rev/02a9995a2e57

While the code should handle cases where redirected file handles
are inherited to child processes, I didn't have any test-case
for testing that.  Something to test that case would be appreciated.


	- Eero



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