Closed andrewbird closed 1 year ago
It seems the segments aren't set.
fdpp: System call (21h): 7303
fdpp: in 7303 DS = 0
fdpp: in 7303 ES = 0
fdpp: in 7303 CX = 44
fdpp: in 7303 after
fdpp: in DosGetExtFree 0 'þ'
I have to leave this to you @stsp as I don't understand all this DPMI stuff.
Thanks, could you please check the fix?
Thanks, it's working now.
That's a stupid fix actually. Could you please change that code to statfs()?
Which is good that it supports int21/7303 internally, but crap that it wants to do a DOS version check first. https://www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/compat/sys/vfs/statfs.c?rev=1.10
If it checks some _osmajor then you can save its value and temporary rewrite.
Since 2a0ee04967b79157aede01459ea9d7d667c2f8dc DIR either always falls back to int21/36 or returns gibberish values from int21/7303