• 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:26 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:50 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:34 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:52 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 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)
  • From Deucе@1:103/705 to GitLab note in main/sbbs on Mon Feb 16 13:00:50 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_8337

    Friendly reminder.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Mon Feb 16 13:34:52 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_8340

    BUMG? Bump up my Git? :smile:
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Feb 16 13:54:16 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_8341

    I re-look at it today
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Mon Feb 16 13:55:52 2026
    https://gitlab.synchro.net/main/sbbs/-/issues/991#note_8341

    I will re-look at it today
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Mon Feb 16 15:03:12 2026
    close https://gitlab.synchro.net/main/sbbs/-/issues/991
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)