• src/syncterm/xfer_queue.c xfer_queue.h xfer_queue_test.c xfer_queue_te

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, July 24, 2026 11:04:33
    https://gitlab.synchro.net/main/sbbs/-/commit/74ce44660e70fe85c7ac1595
    Added Files:
    src/syncterm/xfer_queue.c xfer_queue.h xfer_queue_test.c xfer_queue_test.vcxproj
    Modified Files:
    src/syncterm/CMakeLists.txt GNUmakefile SyncTERM.sln SyncTERM.vcxproj objects.mk term.c
    Log Message:
    Test stale transfer request compaction

    Move transfer request classification and queue compaction into a small
    shared module so the production behavior can be tested directly.

    Reproduce SyncTERM ticket 271 with eleven queued XMODEM-CRC requests.
    Verify that compaction retains one C for mode selection and leaves no
    stale requests for the first block acknowledgement. Cover repeated G
    and NAK requests, both ZMODEM initialization directions, suffix
    preservation, and non-matching input as well.

    Run the regression from the GNU make and CMake test targets. Add a
    Visual Studio test project whose post-build step executes the test, and
    include the production helper in every SyncTERM build description.

    Refs SyncTERM ticket 271

    Co-authored-by: OpenAI Codex <noreply@openai.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net