Skip to content
Snippets Groups Projects
  1. Jul 27, 2018
  2. Jul 26, 2018
    • rswindell's avatar
      putnodedat() - don't try to lock the node.dab file again (should be locked · a5567dfa
      rswindell authored
      already with a call to getnodedat()).
      When using the MSVC2017 CRTL, a lock() of a region that was previously
      locked is a blocking call causing major slowness in the MSVC2017 build.
      This just reverses the 1-line commit from 16 years ago in rev 1.10 of this file.
      a5567dfa
    • rswindell's avatar
      getnodedat() - don't try to unlock the node.dab file unless the read() fails. · f72cc1b8
      rswindell authored
      When using the MSVC2017 CRTL, an unlock() of a region that was not previously
      locked is a blocking call causing major slowness in the MSVC2017 build.
      f72cc1b8
    • rswindell's avatar
      getuserdat() - if this function fails to open the user.dat file (e.g. it does · 425d42b3
      rswindell authored
      not exist), set the user->number to 0 before returning as many callers of this
      function do not check the return value, just the value of user->number after
      it returns (ugh). This problem was discovered when running a fresh install,
      typing "1" at the Login prompt and immediately getting a "Time's Up" message
      and a disconnect - only happens when there's no data/user.dat file.
      
      getnodedat() - don't try to unlock the node.dab file unless the read() fails.
      When using the MSVC2017 CRTL, an unlock() of a region that was not previously
      locked is a blocking call causing major slowness in the MSVC2017 build.
      
      putmsgptrs() - cleans up obsolete sections in the data/user/*.subs files now.
      So if you go from say 10,000 sub-boards to 2,000, it won't have to load and
      search through the extra 8,000 invalid subs (once the file is re-written upon
      log-off). This requires an updated xpdev build (for iniAppendSectionWithKeys)
      
      fixmsgptrs() - if the msgbase index can't be opened or the last index record
      cannot be read (e.g. there isn't one), insure the msg-scan pointer value is
      set to 0 (not ~0).
      425d42b3
  3. Jul 25, 2018
  4. Jul 24, 2018
  5. Jul 23, 2018
  6. Jul 20, 2018
  7. Jul 19, 2018
    • rswindell's avatar
      Fix SMTP-sending mail bug when SMTP/TLS was successfully negotiated: · c86adacd
      rswindell authored
      The "max lines" parameter value passed to sockmsgtxt was using the cryptlib
      session number - this would truncate sent email bodies to some seemingly
      random number of lines. Introduced in rev 1.622.
      Also added a couple of helpful log lines to let the log-reader know if/when
      TLS was successfully negotiated for sendmail sessions.
      c86adacd
    • rswindell's avatar
    • rswindell's avatar
      Added a "MinFreeDiskSpace" setting to the root section of sbbsecho.ini · bad50ed8
      rswindell authored
      (defaults to 10 megabytes, "10M").
      When SBBSecho starts up, if this minimum amount of free space is not
      available in any of the following directories, SBBSecho will display an
      error and immediately exit:
      - data directory (in SCFG)
      - logs directory (in SCFG)
      - netmail directory (in SCFG)
      - outbound directory (from sbbsecho.ini)
      - temp directory
      - each linked-node's outbox, if configured
      
      If the sysop runs out of disk space for some reason, at least SBBSecho
      won't contribute to the problem.
      bad50ed8
  8. Jul 18, 2018
  9. Jul 17, 2018
  10. Jul 16, 2018
  11. Jul 15, 2018
Loading