• src/xpdev/sockwrap.c sockwrap.h

    From Deuce@VERT to Git commit to sbbs/master on Saturday, November 21, 2020 01:07:55
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/f97d9649b7767accdec0608e
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Add inet_pton() for Win32.

    Needed by MinGW32... we'll see if MSVC needs it as well soon.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to sbbs/master on Saturday, November 21, 2020 01:16:21
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8d2a0cfcdb656eab31451b9d
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Looks like MSVC has inet_pton().

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deuce@VERT to Git commit to sbbs/master on Saturday, November 21, 2020 01:18:35
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/afeb58c2a781e2bb37e109d7
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    It's _MSC_VER, not _MSVC_VER.

    Sorry guys. :(

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Deon George@VERT to Git commit to sbbs/master on Sunday, November 22, 2020 08:36:00
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8b4f368d8c6b00d77e7efae8
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Merge branch 'upstream' - deuces inet_pton() work for minw32

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, December 05, 2020 03:30:07
    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 Sunday, December 06, 2020 05:27:11
    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