• src/sbbs3/pcbdefs.hpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Mar 12 23:13:18 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/9422248a55a8e1b8ca835fad
    Added Files:
    src/sbbs3/pcbdefs.hpp
    Log Message:
    PCBoard type definitions for PCBOARD.SYS and USERS.SYS files

    PCBOARD.SYS is officially the worst file format ever invented, not just the worst BBS drop file format ever invented. What were these guys smoking?!?

    I don't know what reference I used almost 30 years ago when I first implemented PCBOARD.SYS file support, but this time I used the PCBoard v15.3 source code (e.g. sys.c and usersys.c) and even their own code seems to work really hard to conform to these crazy file formats.

    USERS.SYS is a little more sane, but not by a lot.

    C++ features make this cleaner/easier, but man... there's just so much polish you apply to these turds.

    I guess (and hope) that nobody's really running programs that depend on/use these file formats. <shrug>

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Mar 12 23:21:15 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/d18654f7c4924ff281afe6e6
    Modified Files:
    src/sbbs3/pcbdefs.hpp
    Log Message:
    Fix min() not being in scope when using GCC <C++, shrug>

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