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

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


This was with Linux, and another Fsfirst triggers it:

int main()
{
  DTA dta;

  Fsetdata(&dta);
  Fsfirst("C:\\*.*, FA_VOLUME);
  Fsfirst("D:\\HDDRUTIL\\TEST.IMG", FA_READONLY);

  return 0;
}

The result of the second Fsfirst is -49. Without the first Fsfirst the
result is 0. D:\HDDRUTIL\TEST.IMG is an existing file.

> Uwe Seimet schrieb:
> 
> > When running Fsfirst on an existing file on a GEMDOS drive error -49 is
> > reported, even though the file is present. This is logged:
> 
> Can you please provide a minimal reproducible example? Because the one
> that I just wrote works as expected. This is with Hatari commit
> 8e0e3880, running under Windows.
> 
> Regards
> Christian
> --
> Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
> WWW: https://www.chzsoft.de/
> New GnuPG-Key-ID: 0x8708B34C827B159E

> #include <stdio.h>
> #include <osbind.h>
> 
> int main(void)
> {
>     long res;
>     res = Fsfirst("FSFIRST.TOS", 7);
>     printf("%ld\r\n", res);
>     return 0;
> }





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