Skip to content
Snippets Groups Projects
  1. Jan 14, 2025
  2. May 26, 2024
  3. Dec 23, 2023
    • Rob Swindell's avatar
      Add/use realloc_or_free() instead of realloc() in some places · 19e7f21e
      Rob Swindell authored
      Where ever we assign the realloc() result to the same pointer we pass, use this new function instead to eliminate the cppcheck error reported by Nelgin:
      Common realloc mistake: 'p' nulled but not freed upon failure  [memleakOnRealloc]
      
      This isn't going to actually solve any memory leaks, it's just good practice for critical error (e.g. no memory error) handling.
      19e7f21e
  4. Feb 13, 2023
    • Rob Swindell's avatar
      Make !INCLUDE directives filename case-insensitive · 9af3ee95
      Rob Swindell authored
      Some legacy Baja source files !INCLUDE SBBSDEFS.INC, but the filename is now
      sbbsdefs.inc, which does not match on case-sensitive filesystems (e.g. Linux)
      e.g.
      BBSLISTR.ZIP:!INCLUDE SBBSDEFS.INC
      FORSALE1.ZIP:!INCLUDE SBBSDEFS.INC
      FWISH10.ZIP:!INCLUDE SBBSDEFS.INC
      GUESS20.ZIP:!INCLUDE SBBSDEFS.INC
      NU_SYNC.ZIP:!INCLUDE SBBSDEFS.INC
      ONELINE1.ZIP:!INCLUDE SBBSDEFS.INC
      ni-sbbs.zip:!INCLUDE SBBSDEFS.INC
      
      This issue was reported via DOVE-Net by Rick Smith.
      9af3ee95
  5. Mar 04, 2022
  6. Nov 06, 2020
    • Rob Swindell's avatar
      Replace ctype.h function calls with new MSVC-safe XPDEV macros · ec20d959
      Rob Swindell authored
      I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values.
      
      This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service).
      
      The new macros names are bit more descriptive as well.
      ec20d959
  7. Aug 16, 2020
  8. May 14, 2020
    • rswindell's avatar
      No longer dynamically allocate compiled access requirment (AR) strings for configuration items. · 110cc8ac
      rswindell authored
      SCFG for Win32 is linked against a load_cfg lib that builds withOUT SCFG defined, so these compiled AR elements were allocated and then many SCFG operations (e.g. copy/paste, create new) would copy the allocated ARs to another configuration and then be subjected to double-free upon exit/clean-up (resulting in exception or crash).
      Just get rid of this cruft and some other related RAM-byte-saving hold-overs from the MS-DOS days.
      110cc8ac
  9. Apr 16, 2020
  10. Jun 30, 2018
  11. Feb 20, 2018
  12. Aug 22, 2015
  13. Sep 03, 2013
  14. Oct 24, 2012
  15. Oct 29, 2011
    • deuce's avatar
      Fix format-related warnings. · 8563ad46
      deuce authored
      This is *likely* to break the Win32 build and even when the macros are
      specified in xpdev, I doubt Microsoft has added support for the 'z' size
      specifier used in smblib/smbadd.c we'll likely need a SIZE_T_SIZE macro
      that is "z" on C99 systems and "ll" or "64" or whatever it is on Win32.
      
      Or maybe a whole slew of complete SIZE_T macros since the 32/64 but thing
      and the max file size thing may actually need the full format specification
      to be in the macro... "zu" on C99 platforms and whatever magic Microsoft
      needs there.
      8563ad46
  16. Jul 11, 2007
  17. Jul 08, 2007
  18. Dec 19, 2006
  19. Dec 18, 2006
  20. Sep 20, 2005
  21. Sep 09, 2005
  22. Sep 08, 2005
  23. Sep 07, 2005
  24. Sep 06, 2005
  25. Sep 05, 2005
  26. Sep 12, 2004
  27. May 30, 2004
  28. Dec 10, 2003
  29. Oct 16, 2003
  30. May 15, 2003
  31. Aug 08, 2002
  32. Apr 26, 2002
  33. Apr 13, 2002
  34. Apr 12, 2002
  35. Mar 07, 2002
  36. Mar 06, 2002
Loading