• src/xpdev/gen_defs.h

    From rswindell@1:103/705 to CVS commit on Sat Aug 15 12:57:51 2020
    src/xpdev gen_defs.h 1.84 1.85
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv32380

    Modified Files:
    gen_defs.h
    Log Message:
    Resolve GCC compile warnings on 32-bit Linux by insuring that PRId/uOFF
    expands to "ld"/"lu", respectively since off_t is a long (not an int): examples:
    ftpsrvr.c:1374:77: warning: format '%d' expects argument of type 'int', but argument 6 has type 'off_t {aka long int}' [-Wformat=]
    lprintf(LOG_WARNING, "%04d <%s> !DATA cannot send file (%s) with size of %"PRIdOFF" bytes"
    websrvr.c:6063:45: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'off_t {aka long int}' [-Wformat=]
    lprintf(LOG_INFO,"%04d Sending file: %s (%"PRIuOFF" bytes)"



    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to sbbs/master on Sat Nov 21 02:12:43 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/6a3fd5591683615872c22eb4
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    define U?INT[0-9]+_(MIN|MAX) for builds without stdint.h (ie: Borland)
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deuce@1:103/705 to Git commit to sbbs/master on Sat Nov 21 02:13:29 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/ce5cf032d42db61e4aff72ef
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    Fix UINT32_MAX definition in previous commit
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat May 22 15:52:38 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/c5bdb26443df75e6d03eebdb
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    Character 255 is a non-breaking space in CP437Now IS_WHITESPACE() will return true for that char and this allows things like truncsp() to truncate trailing white-space (e.g. from a FILE_ID.DIZ), even if it contains a terminating 0xFF character for some unknown reason.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Mon Nov 22 20:53:40 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/b1fcb452d08cbf462dcf750b
    Modified Files:
    src/xpdev/gen_defs.h
    Log Message:
    MSVC 1.5c defines _MSDOS, not __MSDOS__This change needed to build dosxtrn.exe (again).
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)