This development release fixes the root cause of the FILES.BBS rename failure and adds comprehensive test coverage for FILES.BBS operations.
Bug Fixes
- Fixed FILES.BBS rename root cause: The TextRec.name buffer was being read with
str2pas/StrPaswhich produced garbage due to FPC ShortString type conversion issues. The rename target was truncated to justH(OS/2) or/(Linux) instead of the full path. Fixed with manual byte-copy from the TextRec name buffer usingString[255].
Testing
- Added
test_fbbs.pas— 32 tests exercising FILES.BBS create, add, search, multiple sequential adds, and file replacement. All pass. - Full regression suite: 1,680+ tests pass.