• src/sbbs3/chat.cpp data.cpp filedat.c getnode.cpp getstats.c js_cryptc

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Saturday, June 03, 2023 23:43:00
    https://gitlab.synchro.net/main/sbbs/-/commit/2cab35cad19407e9bdae3cd1
    Modified Files:
    src/sbbs3/chat.cpp data.cpp filedat.c getnode.cpp getstats.c js_cryptcert.c js_file.c js_global.c js_msgbase.c jsexec.c listfile.cpp logout.cpp mailsrvr.c main.cpp netmail.cpp nopen.c qwknodes.c readsauce.c sbbs.h sbbscon.c sbbsecho.c sexyz.c smbutil.c src/sbbs3/uedit/uedit.c src/sbbs3/un_qwk.cpp websrvr.c wordwrap.c xmodem.c
    Log Message:
    Fix warnings raised by gcc -D_FORTIFY_SOURCE=3 -O1

    A bunch of possible (but often, not really) use of undefined values.
    Some ignored return values (e.g. of chsize/ftruncate, read, write, fgets).

    Other than some added diagnostics upon some of these unexpected syscall failures, there should be no change in behavior from this commit.

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