• src/smblib/smbstr.c

    From rswindell@VERT to CVS commit on Mon May 25 12:17:06 2020
    src/smblib smbstr.c 1.37 1.38
    Update of /cvsroot/sbbs/src/smblib
    In directory cvs:/home/rswindell/sbbs/src/smblib

    Modified Files:
    smbstr.c
    Log Message:
    strlcpy() is not currently supported in the Linux build (needs -lbsd).
    Switch to strncpy().



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Jan 2 22:26:40 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/5f593b884b68d7452ec8a7f6
    Modified Files:
    src/smblib/smbstr.c
    Log Message:
    Fix small negative UTC-offset output from smb_zonestr()

    When passed values between (-1 and -59), this function would output something nonsensical like: "UTC0:01" or "UTC0:59". Now we'll make sure there's a minus sign in these conditions (e.g. "UTC-0:01" and "UTC-0:59").

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