Skip to content
Snippets Groups Projects
  1. Jun 02, 2022
    • Rob Swindell's avatar
      Decompose some library files to enable reuse by SVDM (virtual DOS modem) · a8c4fc8a
      Rob Swindell authored
      I just wanted to reuse findstr() in vdmodem.c and I fell down this hole :-)
      
      findstr.* is new (findstr() related functions moved from str_util)
      getctrl.* is now finally the real home of get_ctrl_dir(), moved from str_util
      trashcan* functions moved from str_util to scfglib
      other scfg_t dependent functions moved from str_util to scfglib
      
      net_addr() appears to be a function that was never created/used (?)
      
      This will definitely break the *nix build, for now.
      a8c4fc8a
  2. Jun 01, 2022
  3. May 31, 2022
  4. May 30, 2022
    • Rob Swindell's avatar
      Store the UART register/settings in a struct for easy re-init · 9266b997
      Rob Swindell authored
      Re-init the UART struct in the init routine to avoid confusion when making .ini file changes with older NTVDMs (including NTVDMx64) which don't re-load the VDDs for every invocation.
      9266b997
    • Rob Swindell's avatar
      Enable experimental sbbsexec modes (e.g. redir DOS I/O) · 1afb6f0c
      Rob Swindell authored
      Added undocumented experimental options -I and -O to enable DOS input and output interception modes in sbbsexec (e.g. to be used possibly with '-h'). Also -M to specify sbbsexec mode value by number (e.g. 3 to enable DOS Input/Output redir).
      
      Added '-n' option to specify node number (probably no real value/need).
      
      Safe string formatting.
      1afb6f0c
    • Rob Swindell's avatar
      Resolve the socket protocol/address family issues with IPv4 vs. IPv6 · a99f0057
      Rob Swindell authored
      When listening, the address family cannot be PF_UNSPEC, so default to PF_INET (IPv4), when not specified.
      Not sure why we're setting ai_flags to PF_UNSPEC (copied from syncterm) - that's just 0, but otherwise the PF_ and AI_ flags are not compatible.
      Don't set the ai_flags to anything here since they don't seem to change the behavior.
      a99f0057
  5. May 28, 2022
  6. May 27, 2022
  7. May 25, 2022
  8. May 24, 2022
  9. May 19, 2022
    • Rob Swindell's avatar
      Fix loop limit (system.stats.total_users != system.lastuser) · 7e2243b0
      Rob Swindell authored
      When looping to highest user number, use system.lastuser, not
      system.stats.total_users.
      
      This explains why not all userbases would be affected by the just-fixed
      issue in js_user.c. If the total_users happens to equal lastuser, then
      you would have hit the issue in js_user.c. If you had at least one
      deleted or inactive user account, then system.stats.total_users would
      be less than system.lastuser and your system would *not* have triggered
      that bug.
      7e2243b0
  10. May 18, 2022
    • Rob Swindell's avatar
      Fix User.number increment beyond lastuser issue · af1ae777
      Rob Swindell authored
      When the 'number' property of an instance of User was incremented beyond the last user, the call to fgetuserdat() on subsequent property 'get' operation would fail and zero-out the user structure (including the user number). This resulted in an infinite loop in load/birthdays.js where the user number would go from lastuser to 1 in one operation (u.number++).
      
      Reported by DesotoFireflite (VALHALLA)
      af1ae777
  11. May 17, 2022
  12. May 16, 2022
Loading