If somebody with access would post this for spam@dave.page in the qssl conferences, it would be much appreciated…
Here is the source to the ‘fixed’ disk_space() and disk_get_entry().
As you can see, they are stubs automatically generated by a tool which had some bad table entries. Both files will build with “wasm”; you should keep the basename as it is, and you can directly overwrite the clib3s.lib entries with the resultant objects. [ careful backups as always ]…
Sorry, I don’t have a qnx machine at hand to test them, but it was a pretty simple change – if you extract and disassemble the original stubs, you will see that they thought there was only one argument to the functions.