Re: [hatari-devel] Re: GemDOS_DFree

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


Hi,

On 13.6.2025 20.14, Christian Zietz wrote:
Anyway, commited change using f_frsize when it's non-zero and f_bsize
otherwise, both for total & free.

Thank you, that looks good! Aside from one presumable typo:
bsize = buf.f_frsize > 0 ? buf.f_frsize : buf.f_blocks;
... where I guess it should read f_bsize instead of f_blocks as fall-back.

Oh, thanks for noticing it!  Fixed now that too.

(Linux uses f_frsize, so testing did not reveal it.)



	- Eero




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