• src/xpdev/sockwrap.c sockwrap.h

    From rswindell to CVS commit on Monday, May 25, 2020 15:14:09
    src/xpdev sockwrap.c 1.68 1.69 sockwrap.h 1.59 1.60
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/home/rswindell/sbbs/src/xpdev

    Modified Files:
    sockwrap.c sockwrap.h
    Log Message:
    Fix sendfilesocket() and recvfilesocket() for files of size >= 2G on systems that support large file offsets (e.g. 64-bit Linux).
    Considered returning ssize_t (like sendfile does), but opted for off_t. Could be convinced otherwise.


  • From Deuce to Git commit to sbbs/master on Friday, November 20, 2020 17: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.
  • From Deuce to Git commit to sbbs/master on Friday, November 20, 2020 17: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().
  • From Deuce to Git commit to sbbs/master on Friday, November 20, 2020 17: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. :(
  • From Deon George to Git commit to sbbs/master on Sunday, November 22, 2020 00: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
  • From Rob Swindell to Git commit to main/sbbs/master on Friday, December 04, 2020 19: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.
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, December 05, 2020 21: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.
  • From Deuc╨╡ to Git commit to main/sbbs/master on Thursday, February 10, 2022 16:01:28
    https://gitlab.synchro.net/main/sbbs/-/commit/30ace4bc45eb53b5d6bb11f3
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Constify addr_str argument to inet_ptoaddr()
  • From Rob Swindell (on ChromeOS) to Git commit to main/sbbs/master on Monday, June 26, 2023 20:24:21
    https://gitlab.synchro.net/main/sbbs/-/commit/4798e18e5bf24ab973549075
    Modified Files:
    src/xpdev/sockwrap.c sockwrap.h
    Log Message:
    Create get_socket_errno() to replace ERROR_VALUE macro eventually