• src/sbbs3/scfglib1.c

    From rswindell@VERT to CVS commit on Monday, August 05, 2019 20:19:30
    src/sbbs3 scfglib1.c 1.77 1.78
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2019

    Modified Files:
    scfglib1.c
    Log Message:
    make_data_dirs() - make all the file dir's data_dirs and transfer file paths.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to digital man on Tuesday, August 06, 2019 09:40:46
    On 2019 Aug 05 20:19:30, rswindell wrote to CVS commit:

    src/sbbs3 scfglib1.c 1.77 1.78
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2019

    Modified Files:
    scfglib1.c
    Log Message:
    make_data_dirs() - make all the file dir's data_dirs and transfer file paths.

    i think this is where this problem is but not totally sure... scfg validates/creates directories when you save the file area config but they are missing the '/' between "dirs" and the internal code...

    eg: FDIST Library
    internal code prefix : FDIST-
    parent dir : <blank>

    DAILYLIST Directory
    internal code : DAILYLIS
    transfer path : <blank>


    autogenerated values for DAILYLIST Directory
    internal code : FDIST-DAILYLIS
    transfer path : [/sbbs/data/dirs/fdist-dailylis/]


    when saving file library config changes, directory

    /sbbs/data/dirsfdist-dailylis
    ^^

    is created instead of the proper directory

    /sbbs/data/dirs/fdist-dailylis
    ^^^

    )\/(ark

    Once men turned their thinking over to machines in the hope that this would set
    them free. But that only permitted other men with machines to enslave them.
    ... Don't fly into a rage unless you are prepared for a very rough landing.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Tuesday, August 06, 2019 13:33:25
    Re: src/sbbs3/scfglib1.c
    By: mark lewis to digital man on Tue Aug 06 2019 09:40 am

    i think this is where this problem is but not totally sure... scfg validates/creates directories when you save the file area config but they are missing the '/' between "dirs" and the internal code...

    It was in scfgsave.c. Should be fixed now.

    digital man

    This Is Spinal Tap quote #33:
    Nigel Tufnel: Well, so what? What's wrong with bein' sexy?
    Norco, CA WX: 96.5øF, 18.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to mark lewis on Wednesday, August 07, 2019 14:11:47
    Re: src/sbbs3/scfglib1.c
    By: mark lewis to digital man on Tue Aug 06 2019 09:40 am

    On 2019 Aug 05 20:19:30, rswindell wrote to CVS commit: /sbbs/data/dirsfdist-dailylis
    ^^

    I've noticed the same issue.

    I've also noticed in some cases that both the intended directory and the incorrect directory being created - but that might have been me figuring out what was going on.

    This problem existed from my CVS build 10 days ago, and yesterday.
    ...ëîå*

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to Alterego on Tuesday, August 06, 2019 22:41:08
    Re: src/sbbs3/scfglib1.c
    By: Alterego to mark lewis on Wed Aug 07 2019 02:11 pm

    Re: src/sbbs3/scfglib1.c
    By: mark lewis to digital man on Tue Aug 06 2019 09:40 am

    On 2019 Aug 05 20:19:30, rswindell wrote to CVS commit: /sbbs/data/dirsfdist-dailylis
    ^^

    I've noticed the same issue.

    I've also noticed in some cases that both the intended directory and the incorrect directory being created - but that might have been me figuring out what was going on.

    This problem existed from my CVS build 10 days ago, and yesterday.

    Should be fixed now.

    digital man

    Synchronet/BBS Terminology Definition #3:
    ASCII = American Standard Code for Information Interchange
    Norco, CA WX: 70.4øF, 76.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, May 24, 2020 01:27:22
    src/sbbs3 scfglib1.c 1.84 1.85
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    scfglib1.c
    Log Message:
    Eliminated unused variable: scfgnulstr



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, August 23, 2020 14:58:54
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/2516fbca45916c4e59431e26
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Default to a sensible text directory setting if blank in node.cnf

    Also replaced some unsafe str function calls with safe(r) ones.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sunday, August 23, 2020 16:09:19
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/6b74a4a934c089505aa34852
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Merge branch 'master' of gitlab.synchro.net:sbbs/sbbs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Monday, September 07, 2020 20:25:26
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8b968e36a68de3bfba9180a6
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    We actually no longer create files in data/user/ptrs, so don't create.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, November 11, 2020 01:08:49
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/a05d497ca87075860904f160
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Fix bug in mlong's prextrn mod enhancement

    Caused error:
    exec.cpp line 805 (sbbs_t::exec_bin) opening "s:\sbbs\exec\˜˜˜˜˜˜˜˜.bin" access=0
    As reported by Nelgin via IRC at 3AM Texas-time.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, January 17, 2021 18:37:30
    https://gitlab.synchro.net/main/sbbs/-/commit/5e0f2ad6d9d64d0d8a911622
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Fix new GCC warning just introduced in previous commit.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, May 15, 2021 18:47:13
    https://gitlab.synchro.net/main/sbbs/-/commit/bd5e5a3f1afdb7ee8479916f
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Remove a bunch of old #ifdef/0'd out code

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 09, 2023 15:52:32
    https://gitlab.synchro.net/main/sbbs/-/commit/a9a4f2280007c74f62e79bc8
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Change the default MQTT protocol version from 5.0 to 3.1.1

    I read that 3.1.1 is much more widely supported, but perhaps that was old
    info.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Monday, March 20, 2023 17:37:59
    https://gitlab.synchro.net/main/sbbs/-/commit/aa89e19333de108d30a41fca
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Address MSVC warning: conversion from 'double' to 'unsigned int'

    ... possible loss of data (yeah, yeah, we know)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Thursday, April 13, 2023 18:45:54
    https://gitlab.synchro.net/main/sbbs/-/commit/0ecf245c77cb0092594e98bf
    Modified Files:
    src/sbbs3/scfglib1.c
    Log Message:
    Clamp the security level lines per message value between 1 and 65535

    If a user's security level lines per message was set to '0', bad things would happen to the heap if the user posted/sent a message. '1' is a reasonable minimum value. If you don't want a user/group of users to send/post messages, there are restrictions for achieving that. Also this setting is (currently,
    at least) 16-bit, so clamp it there too on the high end.

    Also clamp the expire-to security level setting between 0 and 99, while we're here and noticed that this value wasn't being sanitized either.

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