• src/conio/ciolib.c sdl_con.c

    From deuce@VERT to CVS commit on Sat Apr 25 23:47:00 2020
    src/conio ciolib.c 1.194 1.195 sdl_con.c 1.296 1.297
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv22939

    Modified Files:
    ciolib.c sdl_con.c
    Log Message:
    Move SDL_GetWindowPosition() into main() thread as well.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Mar 17 15:50:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/14ede244078ccdede32e86ad
    Modified Files:
    src/conio/ciolib.c sdl_con.c
    Log Message:
    Fix up exit codes on macOS

    The issue was that the various semaphores and mutexes weren't being
    initialized at all when sdl_initconio() wasn't called... so starting
    the event thread and telling it to stop would access uncreated
    semaphores and mutexes.

    Split out the init, and be sure to call it before exiting.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net