• src/xpdev/gen_defs.h

    From rswindell@VERT to CVS commit on Friday, April 17, 2020 12:30:06
    src/xpdev gen_defs.h 1.81 1.82
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv18212

    Modified Files:
    gen_defs.h
    Log Message:
    This file is still used when building a 16-bit MS-DOS program (DOSXTRN.EXE)
    so put the 64-bit integer stuff in an #ifndef __MSDOS__ block to enable the build to succeed.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, August 15, 2020 11:57:51
    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)"




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