_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/doors/syncretro/test_dirty.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Jul 22 20:38:40 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/7d5cbf75f9b80b4d7fad57ad
    Modified Files:
    src/doors/syncretro/test_dirty.c
    Log Message:
    syncretro: test the dirty-rect stranding fallback

    sr_dirty_find()'s band_align pre-pass returns 0 (full-frame fallback)
    when a bottom-clamped rect can't cover its own changed rows, but that
    path had no test -- only the height-roundup path was covered. Add a
    case that forces it: a single tall, narrow dirty column in a frame
    whose height isn't a multiple of LCM(ch,6), so the vstep-aligned rect
    falls short of the column's own changed-rows bottom.

    Assert the same geometry with band_align=0 does NOT return 0, so the
    test proves stranding is a band_align-specific behavior and not just
    an always-empty result.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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