• src/xpdev/genwrap.c

    From rswindell@VERT to CVS commit on Monday, May 06, 2019 00:31:00
    src/xpdev genwrap.c 1.109 1.110
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv9673

    Modified Files:
    genwrap.c
    Log Message:
    The Win32 implementation of strcasestr() defined here is currently very heavy-handed (performs strdup/malloc's and modifications of the strings),
    so a temporary hack is to perform a case-sensitive search (using the standard strstr() function) first. The results won't exactly match the traditional strstr() and the performance improvement is only for positive matches
    (where the correct case was guessed in the passed 'needle' string arg).
    TODO: re-write or copy a good/fast strcasestr() implementation for Win32 builds.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 16, 2019 21:49:27
    src/xpdev genwrap.c 1.110 1.111
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv12029

    Modified Files:
    genwrap.c
    Log Message:
    Less heavy brute-force version of strcaststr() for Windows (i.e. no mallocs).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, July 24, 2019 04:09:52
    src/xpdev genwrap.c 1.111 1.112
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv8816

    Modified Files:
    genwrap.c
    Log Message:
    Address compiler warnings about printf-format in Windows build.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, August 09, 2020 01:47:26
    src/xpdev genwrap.c 1.116 1.117
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/home/rswindell/sbbs/src/xpdev

    Modified Files:
    genwrap.c
    Log Message:
    Fix safe_strerror() for GNU builds (must use the return value of strerror_r()).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 10, 2020 04:11:45
    src/xpdev genwrap.c 1.117 1.118
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv32696

    Modified Files:
    genwrap.c
    Log Message:
    Provide a (non-ideal) implementation of safe_strerror() for Borland C builds that don't have strerror_s:
    Error: Unresolved external '_strerror_s' referenced from genwrap



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Stephen Hurd@VERT to Git commit to sbbs/master on Tuesday, November 10, 2020 20:55:53
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/678627dbcfc2b6eab9a7a7cb
    Modified Files:
    src/xpdev/genwrap.c
    Log Message:
    Use the crappy strerror() wrapper for all _WIN32 that's not MSC,
    not just for Borland.

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