lclevy / ADFlib

A free, portable and open implementation of the Amiga filesystem
GNU General Public License v2.0
84 stars 29 forks source link

File truncate implementation, corrected seek (EOF) and some other small changes/fixes #37

Closed t-w closed 1 year ago

t-w commented 1 year ago

A smaller PR this time. The most important things are mentioned in the topic.

There are also new tests (for the new stuff and older, too). Some tests (ie. for truncate, writing in chunks) can be quite i/o heavy, if they are failing for you because of the timeout, just change it in the source (the function with config. of the test suites).

lclevy commented 1 year ago

Ok for me

t-w commented 1 year ago

I've added two small updates for adfRenameEntry - they do not change much, but do correct important things. It does not seem to worth to make it a separate PR, though... If OK. for you, I will merge it.