• src/xpdev/semwrap.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, September 07, 2026 00:22:57
    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 Monday, September 07, 2026 00:26:16
    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