Re: [hatari-devel] Fsfirst issue with GEMDOS drive

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


Christian Zietz schrieb:

with Hatari commit
8e0e3880

I do see one potential problem with this commit, though. Eero, since
you've authored it, can you please recheck?

If Fsfirst is called to get the volume label, you store the flag for the
volume in the DTA of the process:

https://github.com/hatari/hatari/commit/8e0e38804fb222c92a485a588fc0f72b4d8e62ff#diff-08b4eb2eb5973bd9152ce1f180a224afaa85d914dc3a2000ce4d1cb67cabcc97R3063

However, if on a subsequent call to Fsfirst (this time for regular
files) this flag is still in the DTA, the call will fail with ENMFIL (-49):

https://github.com/hatari/hatari/commit/8e0e38804fb222c92a485a588fc0f72b4d8e62ff#diff-08b4eb2eb5973bd9152ce1f180a224afaa85d914dc3a2000ce4d1cb67cabcc97R2921

Without the minimal example from Uwe, of course, we don't know if that's
what he is observing.

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E




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