• data/binkstats.ini has hundreds of thousands of blank lines

    From Deucе@1:103/705 to GitLab issue in main/sbbs on Sat Oct 18 19:43:27 2025
    open https://gitlab.synchro.net/main/sbbs/-/issues/991

    Not sure what even creates this file, but there's a couple hundred thousand blank lines in it chunked between the different sections.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Sun Oct 19 12:28:51 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_7739

    After about 12 hours of running, there's 192 blank lines before the `[inbound success: 1:218/700@fidonet]` section.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Sun Oct 19 20:16:35 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_7741

    binkit.js creates and updates this file. Mine (updated today) doesn't have any excessive blank lines it.

    Maybe `File.iniRemoveSection()` isn't removing extra blank lines? Looking at the code (ini_file.c), it appears it should be. Without being able to reproduce, it'll be pretty hard for me to fix.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Sun Oct 19 22:55:53 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_7742

    Huh, I guess that's a new feature since I last worked on binkit.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Sun Oct 19 23:07:30 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_7743

    So, of the the BBSs, only WLARB has it bad...

    Synchronix has most of the entries with one space between them and up to four blanks.

    BBSDev has most of the entries with no space between them, but six blanks before the last one.

    WLARB though is back up to 1903 blank lines.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Oct 20 00:02:54 2025
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_7745

    Every time this script runs, an extra blank line is added before \[second\]... not setting the section separator makes the issue go away:

    ```javascript
    var f = new File(js.exec_dir + 'test.ini');

    if(f.open(f.exists ? 'r+':'w+')) { f.ini_section_separator = ''; f.iniReplaceObject = function(sec, obj) { this.iniRemoveSection(sec); this.iniSetObject(sec, obj); };

    f.iniSetObject('first', {key1:'val1',key2:'val2'});
    f.iniReplaceObject('second', {key1:'val1',key2:'val2'});
    f.close();

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