[hatari-users] [hatari-devel] Hatari BeOS/Sun (and Windows) users?

ggn (HOL) ggn at hol.gr
Sat Oct 24 14:21:00 CEST 2009


Hello Eero,

iirc  scandir  is  used in the file selector too, right? Just did a distclean-ed
build of hatari on my mingw32 enviroment and noticed no side effects.

Saturday, October 24, 2009, 1:34:32 PM, you wrote:

> Hi,

> I noticed that the Hatari scandir() function emulation for BeOS and Sun
> operating systems leaks memory and directories on errors.  I fixed that to
> the version control, but cannot test it myself.

> If somebody's still using Hatari on those operating systems, please check
> that I didn't break anything (at least it seemed to compile fine).


> I also took a look at the Windows scandir() function emulation and besides
> potentially leaking, it seemed to be lacking some error handling (checking
> return values etc).  If somebody's using Hatari on Windows, you could take
> a look at the code and provide a patch.  (I would expect allocs to succeed
> on normal Windows machine, but on embedded versions they might not.)


>         - Eero
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel




-- 
Best regards,
 ggn                            mailto:ggn at hol.gr




More information about the hatari-users mailing list