• exec/tests/mailbox/read.j

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Thu Nov 19 10:48:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/329fe774d0111af73bece62c
    Modified Files:
    exec/tests/mailbox/read.js
    Log Message:
    tests/mailbox/read.js: open files shareable in read_file()

    The test reads the shared mail base's .shd file to check that a second mark_read does not write to it, while a Store still has the base open
    for writing. File.open("rb") denies writers by default, so on Windows
    the open failed with "cannot open ...shared_mail.shd"; nothing enforces
    the share mode on Unix, so the test passed there.

    The test was added in 457571240a (2026-11-18).

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>