• src/sbbs3/load_cfg.c

    From rswindell@VERT to CVS commit on Sunday, July 29, 2018 00:26:00
    src/sbbs3 load_cfg.c 1.73 1.74
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv12120

    Modified Files:
    load_cfg.c
    Log Message:
    Remove dots (.) from internal codes auto-generated from other strings.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, October 18, 2018 21:28:00
    src/sbbs3 load_cfg.c 1.74 1.75
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25449

    Modified Files:
    load_cfg.c
    Log Message:
    Log the errno description text along with the number when failing to
    create a directory.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 06, 2019 01:51:40
    src/sbbs3 load_cfg.c 1.76 1.77
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23213

    Modified Files:
    load_cfg.c
    Log Message:
    A more sensible (though not 100% backwards compatiblity) Transfer File Path default-setting.
    - If a directory's Transfer File Path is not set (blank), and the library
    has a "parent directory" configured, then the default Transfer File Path
    will (now) be <parent>/<dir-code>, where <dir-code> is the directory's
    internal code (lower-cased). This is different from previous behavior where
    the parent dir was not used unless *something* was entered for a dir's
    Transfer File Path. I'm sorry if this brakes your b0rad!
    - If a directory's Transfer File Path is not set (blank), and the library does
    *not* hae a "parent directory" configured, then the behavior should be the
    same as before, default Transfer File Path: <data-dir>/<dir-code>
    - If a directory's Transfer File Path is already set to a
    full path, there should be no change in behavior either.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 06, 2019 03:08:47
    src/sbbs3 load_cfg.c 1.77 1.78
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv647

    Modified Files:
    load_cfg.c
    Log Message:
    Fix typo in previous commit.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 06, 2019 04:38:51
    src/sbbs3 load_cfg.c 1.78 1.79
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv11280

    Modified Files:
    load_cfg.c
    Log Message:
    When the LIB_DIRS option is enabled (auto-add sub-directories of teh parent directory), ignore dirs that are already configured, i.e. internal code
    suffix matches the sub-dir name.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 06, 2019 07:40:06
    src/sbbs3 load_cfg.c 1.79 1.80
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv2664

    Modified Files:
    load_cfg.c
    Log Message:
    Remove trailing slash from sub-dir name before comparing against internal
    code. Compare against full internal-code (not just suffix) for duplicate detection.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, January 21, 2021 09:44:24
    https://gitlab.synchro.net/main/sbbs/-/commit/9439f5b8e23351f3a96982b0
    Modified Files:
    src/sbbs3/load_cfg.c
    Log Message:
    Fix: initialize default data directories after auto-creating sub-dirs

    When a file library's "Access to Sub-directories" option was enabled, any auto-created directories would have their data dir initialized as "blank" (empty), so their data files (e.g. <code>.dat, <code>.ixb) would be created in the ctrl directory.

    I guess nobody used this feature? It is pretty cool, but not really documented. If you were using it before this commit, you'll need to move your sub-directories data files to data/dirs or re-add the files (recreate the database files). And you can remove the old cruft from the ctrl dir.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Rob Swindell on Thursday, January 21, 2021 21:51:51
    El 21/1/21 a las 06:44, Rob Swindell escribi:
    https://gitlab.synchro.net/main/sbbs/-/commit/9439f5b8e23351f3a96982b0 Modified Files:
    src/sbbs3/load_cfg.c
    Log Message:
    Fix: initialize default data directories after auto-creating sub-dirs

    When a file library's "Access to Sub-directories" option was enabled, any auto-created directories would have their data dir initialized as "blank" (empty), so their data files (e.g. <code>.dat, <code>.ixb) would be created in the ctrl directory.

    I guess nobody used this feature? It is pretty cool, but not really documented. If you were using it before this commit, you'll need to move your sub-directories data files to data/dirs or re-add the files (recreate the database files). And you can remove the old cruft from the ctrl dir.
    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net


    Coincidentally, a few weeks ago I found that option and could not find
    any documentation for it.

    When you have some free time, can you add some documentation please?

    Thank you!

    ---
    Synchronet Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Thursday, January 21, 2021 20:21:15
    Re: Re: src/sbbs3/load_cfg.c
    By: Ragnarok to Rob Swindell on Thu Jan 21 2021 01:51 pm

    When you have some free time, can you add some documentation please?

    Yup, plan to.
    --
    digital man

    Rush quote #31:
    Live for yourself, there's no one else more worth living for
    Norco, CA WX: 67.9F, 43.0% humidity, 7 mph NE wind, 0.00 inches rain/24hrs

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