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

    From Deucе@VERT to GitLab issue in main/sbbs on Saturday, October 18, 2025 19:43:27
    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.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to GitLab note in main/sbbs on Sunday, October 19, 2025 12:28:51
    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.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Sunday, October 19, 2025 20:16:35
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to GitLab note in main/sbbs on Sunday, October 19, 2025 22:55:53
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_7742

    Huh, I guess that's a new feature since I last worked on binkit.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to GitLab note in main/sbbs on Sunday, October 19, 2025 23:07:30
    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.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to GitLab note in main/sbbs on Monday, October 20, 2025 00:02:54
    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();

    }
    ```

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