• src/sbbs3/sbbsdefs.h

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sunday, March 24, 2024 01:45:43
    https://gitlab.synchro.net/main/sbbs/-/commit/a704942a1ebddafd9d333b6b
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increment copyright year from 2022 to 2024

    Yeah, it's getting about that time...

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 01, 2025 22:01:29
    https://gitlab.synchro.net/main/sbbs/-/commit/ad7f6262771f2607482f5bef
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increment rev to 3.20b (not beta)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 00:41:12
    https://gitlab.synchro.net/main/sbbs/-/commit/2c9d70e1c0cedff1adbf39ad
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increase rev to C (v3.20c)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 16:19:54
    https://gitlab.synchro.net/main/sbbs/-/commit/250ff06f972259673c97bd93
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increase rev to C (v3.20c)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, March 03, 2025 22:11:50
    https://gitlab.synchro.net/main/sbbs/-/commit/080bf35249d21138894f7dca
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increment version to v3.20d

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, March 04, 2025 00:41:05
    https://gitlab.synchro.net/main/sbbs/-/commit/3622e0ce8acf0724d293dada
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Bump rev to E (i.e. v3.20e)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, March 31, 2025 15:16:47
    https://gitlab.synchro.net/main/sbbs/-/commit/52c61694c0177f8b3039afcf
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increase version to 3.21a

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, March 31, 2025 16:03:56
    https://gitlab.synchro.net/main/sbbs/-/commit/8c5271fd8a17ba0cc61f1768
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Fix VERSION_NUM and VERSION_HEX encoding of updated version number (32100).

    Use math to compute the value of VERSION_NUM and VERSION_HEX so we don't have mutliple sources of truth for the integer-encoded version number any longer.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, March 31, 2025 16:56:11
    https://gitlab.synchro.net/main/sbbs/-/commit/e1f5b024fe9c54007d068ae3
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Clean up formatting, some typos, convert C-style single-line comments to C++

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, March 31, 2025 17:22:20
    https://gitlab.synchro.net/main/sbbs/-/commit/b1801a60a39be099f6285e64
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Derive VERSION_INT from VERSION

    Really, a single source of truth for the version major.minor number now.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, March 31, 2025 17:25:59
    https://gitlab.synchro.net/main/sbbs/-/commit/b40aeea11338a4debd3b667f
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Re-arrange VERSION/REVISION defines and add a comment

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 03:29:08
    https://gitlab.synchro.net/main/sbbs/-/commit/3c5834f52cecdb25a76e23e2
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Remove unused/obsolete macros: MAX_SUBS, MAX_DIRS, and MAX_XTRNS (65534)

    The actual maximums are much higher than these values nowadays, in the 6 digits at least, maybe 7.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, February 15, 2026 22:31:58
    https://gitlab.synchro.net/main/sbbs/-/commit/021fd13d4fd7b2e319331dc8
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Move the (new) color constants userlow, userhigh to to the end of the enum

    These values turn out to be significant for the (undocumented) console.color_list[], so might as well keep it backward compatible for when we do someday document it. :-)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, February 25, 2026 20:21:43
    https://gitlab.synchro.net/main/sbbs/-/commit/c380ce1293cb8cceb5bcce57
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increment current (dev) version to 3.21d

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, March 17, 2026 02:03:58
    https://gitlab.synchro.net/main/sbbs/-/commit/945bff16eb6929b0c6106749
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increase rev to 'E' (so that's v3.21e) in prep for next release

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, March 20, 2026 01:19:33
    https://gitlab.synchro.net/main/sbbs/-/commit/07e7c2ba63d2ba73874a3668
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Increase rev to v3.21f

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, April 18, 2026 16:27:32
    https://gitlab.synchro.net/main/sbbs/-/commit/376d9df2e4d7e306136528ec
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Bump version to 3.22a

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, September 11, 2026 14:40:35
    https://gitlab.synchro.net/main/sbbs/-/commit/2cd36a8803eb6d40476b2e4e
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Cap LEN_SYSDIR at MAX_PATH

    The rest of the tree builds paths in MAX_PATH + 1 buffers, so a system directory longer than MAX_PATH cannot be used: it truncates at the first
    such buffer it reaches. On Windows, where MAX_PATH is 260, the 1023
    LEN_SYSDIR resolved to was nearly four times what those buffers hold,
    and the truncation was silent because MSVC has no -Wformat-overflow.

    Take the smaller of MAX_PATH and INI_MAX_VALUE_LEN - 1, so a system
    directory always fits a MAX_PATH + 1 buffer on every platform. Nothing
    changes on Linux, where PATH_MAX is 4096. On Windows it also returns
    roughly 1.9MB of the terminal server's node_scfg[]: ten such fields over MAX_NODES entries. Bounding by MAX_PATH rather than a literal means
    that raising MAX_PATH for Windows long-path support would carry
    LEN_SYSDIR with it.

    A conditional expression rather than #if, because an #if naming MAX_PATH
    from a translation unit that had not yet reached dirwrap.h would take
    the MAX_PATH branch silently: an undefined identifier evaluates to 0
    there. Include dirwrap.h directly rather than by way of smbdefs.h.

    scfg_t changes size where the cap binds, so sbbsctrl.exe and
    UserEdit.exe must be rebuilt alongside.

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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Saturday, September 19, 2026 15:48:48
    https://gitlab.synchro.net/main/sbbs/-/commit/19b386cb5ca8a2c38f5b88f3
    Modified Files:
    src/sbbs3/sbbsdefs.h
    Log Message:
    Use 1U for QHUB_NATIVE, the only bit-31 macro in sbbsdefs.h without it

    "1 << 31" shifts into the sign bit of an int, which is undefined
    behavior. It has worked everywhere we build because GCC and MSVC both
    yield INT_MIN and qhub_t.misc is uint32_t, so the conversion lands on 0x80000000 either way, but there is no reason to keep relying on that.
    UBSan flags it; -Wall -Wextra does not, which is why it went unnoticed
    when the bit moved to 31 in 0bc7b3297e (cleaning-19-wish, 2026-01-31).

    Every other bit-31 macro in this header already uses 1U: SM_SYSVDELM, XTRN_CONIO, CON_CR_CLREOL, MOUSE, SS_FASTLOGON and EX_CONIO.

    Value-preserving: both forms give 0x80000000 for the "misc ^=" in
    scfgnet.c and the "misc &" test in main.cpp, verified against each other,
    and both consumers plus msgtoqwk.cpp still compile clean.

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

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