• src/sbbs3/addfiles.c delfiles.c dupefind.c filelist.c jsexec.c makeuser

    From rswindell@1:103/705 to CVS commit on Fri Jan 3 12:34:56 2020
    src/sbbs3 addfiles.c 1.60 1.61 delfiles.c 1.12 1.13 dupefind.c 1.6 1.7 filelist.c 1.20 1.21 jsexec.c 1.210 1.211 makeuser.c 1.10 1.11 qwknodes.c 1.23 1.24 sbbs.h 1.555 1.556 sbbscon.c 1.276 1.277 sbbsdefs.h 1.250 1.251 smbactiv.c
    1.6 1.7 str_util.c 1.66 1.67 textgen.c 1.13 1.14
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    addfiles.c delfiles.c dupefind.c filelist.c jsexec.c
    makeuser.c qwknodes.c sbbs.h sbbscon.c sbbsdefs.h smbactiv.c
    str_util.c textgen.c
    Log Message:
    Add/use a new get_ctrl_dir() function to query the SBBSCTRL env var and if
    not set (or blank), use the default ("/sbbs/ctrl") and print a warning to stderr. This resolves a FAQ for sysops that struggle with setting the SBBSCTRL env var, but do have sbbs install in /sbbs or a symlink from /sbbs to where sbbs is actually installed.

    Note: this function is different than the one previously defined in getctrl.c but never used. If/when we ever really need to support PREFIX, then perhaps we'll use that one (which copies a string to a buffer).


    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)