• src/conio/ciolib.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Oct 6 21:27:05 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5de30039571052487eabdc75
    Modified Files:
    src/conio/ciolib.c
    Log Message:
    If we're initializing ciolib in textmode() we know the initial mode

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Fri Dec 5 23:53:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/658432266abc8e1dbe93fdd5
    Modified Files:
    src/conio/ciolib.c
    Log Message:
    Make ciolib_ungetch(0) work with default implementation

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Jan 3 11:58:19 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ab56f3e0a9cdab624e6f5315
    Modified Files:
    src/conio/ciolib.c
    Log Message:
    Fix potential races around init and ungot chars

    Since we now require pthreads for ciolib anyway (pthread_once_t in
    ciolib.h), we can avoid races properly.

    Make initialized atomic, and have a lock around updating it, and add
    a lock around the ungot characters (heavily used by Windows GDI).

    This possibly fixes bug ticket 214.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Jan 3 12:44:10 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/ee5be4f9da9a441a1345ef02
    Modified Files:
    src/conio/ciolib.c
    Log Message:
    Remove unneeded ungot check in kbwait

    The ciolib_kbhit() call will do exactly the same thing first
    anyway.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Jan 3 14:46:18 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/69cad9304f1e1347dacfba52
    Modified Files:
    src/conio/ciolib.c
    Log Message:
    MSVC is the dum

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Jan 3 14:49:55 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5609760c35be70d09aa1dd8c
    Modified Files:
    src/conio/ciolib.c
    Log Message:
    Work around some brain damage in Apple version of Clang

    Won't let an _Atomic int control a switch statement.

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