Skip to content
Snippets Groups Projects
  1. Sep 07, 2024
  2. Sep 06, 2024
  3. Sep 05, 2024
  4. Sep 04, 2024
  5. Aug 28, 2024
  6. Aug 27, 2024
    • Rob Swindell's avatar
      Fix NULL pointer deref in random_menu() · 46c603ce
      Rob Swindell authored
      When no files with extensions are found, though they matched the glob()
      pattern, a NULL pointer deref would result (segfault).
      
      This could happen if the only files matching the pattern had no extenions or
      were directories (not files).
      
      Fix for issue #779
      46c603ce
  7. Aug 23, 2024
    • Rob Swindell's avatar
      Don't call utime() on the node.dab file for every read · e93b6dfa
      Rob Swindell authored
      ... this was the cause of some observed unnecessarily high disk/file server
      (Samba) utilization, as we call getnodedat() a lot. utime() opens and closes
      the file, which was already open - and we're not modifying the file, so
      updating the 'modification time' here is wrong anyway.
      
      Disabling this 21-year old bit of logic resulted in a pretty dramatic
      reduction in Samba (smbd) CPU utilization on Vertrauen.
      
      If a BBS actually needes this hack (e.g. for NFS compatibility, as Deuce
      eluded in the comment), they'd be better off just setting the "Keep Node File
      Open" node setting (in SCFG->Nodes) to "No".
      e93b6dfa
    • Rob Swindell's avatar
      Extend (and back-off) the user.tab record lock attempts · 69fc70ab
      Rob Swindell authored
      I'v been getting errors locking user.tab (for read) for a while (over samba),
      so hopefully this helps. The lockuserdat() total timeout duration extends from
      about 5 seconds to about 45 seconds (with an incremental back-off).
      
      Implement the same lock-retry logic/limit in putuserdat().
      69fc70ab
  8. Aug 20, 2024
  9. Aug 19, 2024
  10. Aug 18, 2024
  11. Aug 17, 2024
  12. Aug 16, 2024
  13. Aug 15, 2024
  14. Aug 13, 2024
  15. Aug 11, 2024
  16. Aug 10, 2024
    • Rob Swindell's avatar
      Send CRLF terminated strings with -S option instead of CR-terminated · 0a90a39d
      Rob Swindell authored
      Telnet requires CRLF or CR/NUL instead of bare CR.
      0a90a39d
    • echicken's avatar
      Bullshit v4 (source & tooling). · 0878b175
      echicken authored
      This is a rewrite of the Bullshit bulletin lister. Should have all
      the same features as v3, but much faster at lightbar navigation
      and especially better at scrolling large files. (frame.js has been
      replaced here by my new screen management library, 'swindows'.)
      
      Sysops don't need to concern themselves with the files in this
      commit; the build generated from these has been placed in the same
      location as the old 'bullshit.js' script. Just copy that one to
      wherever you normally run this from and it'll take over. Or you
      could run Bullshit from the repo if you like to live dangerously.
      0878b175
Loading