• src/syncterm/rlogin.c

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Mar 29 12:40:18 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/41f451bbe27e0b8c28da32f0
    Modified Files:
    src/syncterm/rlogin.c
    Log Message:
    Resolve GCC 12.2 warningswarning: ‘%s’ directive writing up to 128 bytes into a region of size 74note: ‘sprintf’ output between 21 and 179 bytes into a destination of size 80
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Apr 28 17:55:44 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c7a31419ce2f43e07d71aa8f
    Modified Files:
    src/syncterm/rlogin.c
    Log Message:
    Only read readable sockets.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon Jun 5 16:54:36 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/10fac7f35f1b98a29f7df7ac
    Modified Files:
    src/syncterm/rlogin.c
    Log Message:
    Fix warning: ‘ret’ may be used uninitialized
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jan 3 00:39:13 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a6a9d6a3c555890f5e6fe34e
    Modified Files:
    src/syncterm/rlogin.c
    Log Message:
    Fix types.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Jan 3 11:01:35 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/76a1eb0f337606d814b17c98
    Modified Files:
    src/syncterm/rlogin.c
    Log Message:
    More type fixes.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat May 9 18:36:58 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/d6dc31c7e5e083e7e254c97c
    Modified Files:
    src/syncterm/rlogin.c
    Log Message:
    SyncTERM: rlogin OOB via exceptfds + MSG_OOB

    Winsock2's SO_OOBINLINE + SIOCATMARK combo doesn't reliably surface
    RFC 1282 urgent-mode control bytes, so rlogin's mode-switch / window-
    size requests were dropped on Windows. Drop SO_OOBINLINE entirely and
    detect urgent via select()'s exceptfds, consuming the byte from its
    separate mailbox with recv(MSG_OOB) once SIOCATMARK shows the inline
    stream has drained to the mark. Same code path on Windows and POSIX.

    socket_check() is left untouched (many out-of-tree consumers); the
    input thread now uses a bespoke inline select() that watches both
    readfds and exceptfds. Once OOB is signaled exceptfds is dropped from
    the wait set to avoid a busy-loop while we wait for the inline read
    pointer to reach the urgent point — RFC 1282 mode-switch bytes
    (0x10/0x20) apply to data following the urgent ptr, so pre-mark inline
    data must drain in the old mode first.

    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)