• src/xpdev/semwrap.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Sep 7 00:22:57 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/1e35996ca44e2eb73099c023
    Modified Files:
    src/xpdev/semwrap.c
    Log Message:
    Keep Win32 semaphore errors CRT-compatible

    Avoid importing POSIX errno values that are absent from supported Windows CRTs, including Borland C++Builder 6. Preserve the legacy sem_getvalue and wait-error behavior until the API-removal pass.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Sep 7 00:26:16 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0e5dc20d07fdfb4d140de6d4
    Modified Files:
    src/xpdev/semwrap.c
    Log Message:
    Wrap semaphore errors for older Windows CRTs

    Use ERANGE and EINVAL fallbacks when EOVERFLOW and ENOSYS are unavailable, preserving precise errno values on CRTs that provide them. Keep sem_getvalue intact for the conservative CI pass.

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