• src/xpdev/sockwrap.c sockwrap.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Dec 4 19:30:07 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/7df76d2fff3412046a5ac795
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Use portable inet_pton() for all Win32 builds.

    Rename the portable inet_pton() to xp_inet_pton() and define a wrapper macro (for all Widows builds) to use it instead of inet_pton() as not all supported Windows systems (e.g. WinXP) have an inet_pton() implementation.

    This allows the HAProxy mod to be re-enabled by default without preventing executing on WinXP.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Dec 5 21:27:11 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/33d5753894d6542ae76da2ee
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Introduce and use set_socket_errno()

    xp_inet_pton() now sets the socket errno value, doing as instructed by the TODO.

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