|Re: [hatari-devel] Fforce() fails with GEMDOS drive emulation|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
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:
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.