• src/xpdev/genwrap.c genwrap.h

    From Deucе@VERT to Git commit to main/sbbs/master on Fri Mar 22 10:59:52 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2e39f3d24b87e073cff17a8b
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Cpoy/paste strlcat() from FreeBSD 13.3-RELEASE

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Apr 14 16:58:38 2020
    src/xpdev genwrap.c 1.113 1.114 genwrap.h 1.117 1.118
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv12570

    Modified Files:
    genwrap.c genwrap.h
    Log Message:
    Include a reimplementation of BSD strlcpy(), currently only enabled in Windows builds.


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Aug 8 16:25:46 2020
    src/xpdev genwrap.c 1.114 1.115 genwrap.h 1.121 1.122
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv21344

    Modified Files:
    genwrap.c genwrap.h
    Log Message:
    Define a thread-safe/re-entrant version of strerror(): safe_strerror() which is just thin wrapper around strerror_s on Windows and strerror_r elsewhere.


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Mon Jan 12 20:14:17 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9b3ea300086eb4a7d8d46fe5
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Create c_unescape_printable()

    For use in scenarios where supporting non-printable (e.g. control characters) could potentially be problematic.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed May 27 21:34:35 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/813bfe634d45360f0caa6abc
    Modified Files:
    src/xpdev/genwrap.c genwrap.h
    Log Message:
    Add fast millisecond timer wrapper

    Add xp_fast_timer64_ms() beside the existing xp_fast_timer64()
    wrapper. The new helper keeps the coarse/fast clock preference used by
    the seconds timer, but returns millisecond ticks for callers that need sub-second scheduling without the full precision cost of xp_timer().

    On Unix this prefers CLOCK_MONOTONIC_COARSE or CLOCK_MONOTONIC_FAST
    when available, then falls back through the existing monotonic choices.
    On Windows it mirrors the fast timer path through GetTickCount(), which
    already maps to GetTickCount64() on newer WINVER builds.

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