Closed Niteto closed 5 years ago
https://github.com/lclevy/ADFlib/blob/69af1e5f910925b985d5e804d1ed446886ed1468/src/adf_dir.c#L227 Only the datablocks of the file are marked free in the bitmap, the fileheaderblock isn't set free so after every deleted file one block capacity is lost. Adding "adfSetBlockFree(vol, nSect);" after line 227 in adf_dir.c will fix this issue.
ok for this fix. could you please provide me a patch to apply ?
I hope this is the right way to apply a patch, i'm new to GitHub :)
https://github.com/lclevy/ADFlib/blob/69af1e5f910925b985d5e804d1ed446886ed1468/src/adf_dir.c#L227 Only the datablocks of the file are marked free in the bitmap, the fileheaderblock isn't set free so after every deleted file one block capacity is lost. Adding "adfSetBlockFree(vol, nSect);" after line 227 in adf_dir.c will fix this issue.