• src/odoors/ODCom.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 11 10:21:57 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/457c9324932c71e136415439
    Modified Files:
    src/odoors/ODCom.c
    Log Message:
    Rename tio_default to avoid conflict with conio/ciolib

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 11 20:10:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/6f7000e3eb0f77a852a5ddda
    Modified Files:
    src/odoors/ODCom.c
    Log Message:
    Use poll() instead of select() when not in Windows.

    It's common for a busy Synchronet BBS to have socket descriptors
    higher than FD_SETSIZE, which means select() won't work at best,
    and FD_SET will corrupt memory at worst.

    We continue to use select() on Windows because the Windows select() implementation doesn't have the same problem, and the poll()
    implementation isn't POSIX compliant.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Oct 20 22:29:49 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/604e137bf41ba79708ccacbd
    Modified Files:
    src/odoors/ODCom.c
    Log Message:
    Support infinite blocking in poll() on *nix

    This is never currently requested on *nix, but it should be supported

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Oct 20 22:29:49 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a012a1a8c3af6393fa1c9baa
    Modified Files:
    src/odoors/ODCom.c
    Log Message:
    Remove the polling loop from ODComWaitEvent() for Windows sockets

    Since we're always waiting in ODComGetByte(), and it sits in select(),
    it can simply post a semaphore when "carrier is lost".

    This recv() loop is crazy otherwise.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Oct 20 22:35:23 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/b2722f393439dd6748be3ab5
    Modified Files:
    src/odoors/ODCom.c
    Log Message:
    Fix infinite poll() on systems that don't define INFTIM

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