Skip to content
Snippets Groups Projects
  1. Apr 04, 2021
    • Rob Swindell's avatar
      A poll() failure with EINTR does not mean a socket is closed. · 925e3b0a
      Rob Swindell authored
      This won't impact Synchronet as it has a separate signal handling
      thread, but we still need to behave properly for processes that
      don't.  I'm also saying that ENOMEM does not indicate a disconnection,
      though it may be better to pretend it was disconnected...
      925e3b0a
  2. Dec 13, 2020
  3. Nov 21, 2020
  4. Sep 15, 2020
    • Rob Swindell's avatar
      Switch from static C runtime library to runtime DLL · e5ad85a8
      Rob Swindell authored
      This fixes the stat() issue on Windows XP/2K3 by allowing sbbs to benefit
      from the run-time library updates that Microsoft releases periodically
      (like https://www.microsoft.com/en-us/download/details.aspx?id=53840).
      
      For more info on the stat() issue which caused all kinds of sbbs errors
      (e.g. creating directories initially, but a lot more):
      https://stackoverflow.com/questions/32452777/visual-c-2015-express-stat-not-working-on-windows-xp
      
      Since we are using cryptlib which requires the MSVC runtime DLL anyway
      (it is the default build behavior of MSVC), we weren't really gaining
      anything from statically linking the CRTL (LIBCMT.LIB). And for some reason,
      an up-to-date MSVC2019 still has (links-in) a LIBCMT.LIB file that includes
      this stat bug. All the online help resources I found just to seem to suggest
      updating the CRTL DLLs (on the target system), with no mention of any fixes
      available for the static CRTLs on the build system. But with the no gain
      from static linking anyway, I figured it was time to switch to DLL CRTLs.
      
      The debug builds are still statically linking the CRTL for no particular
      reason.
      e5ad85a8
  5. Jul 18, 2019
  6. Jun 29, 2019
  7. Aug 22, 2015
  8. Aug 20, 2015
  9. Dec 16, 2014
    • rswindell's avatar
      New MSVC property sheet for Multi-threaded XPDEV builds and usage: · e024987d
      rswindell authored
      defines XPDEV_THREAD_SAFE (not currently used in Windows builds) and
      LINK_LIST_THREADSAFE (notice the inconsistent use of underscore :-)
      Use of this property sheet fixes the problem with the terminal server global
      variable 'uptime' getting corrupted when jsrt_GetNew() called listInit() from
      js_rtpool.c which didn't #include sbbs.h and therefore had a different idea
      about the size of link_list_t and thus corrupted the global data region
      (zeroing out the 'uptime' variable, probably amonst other important things).
      e024987d
  10. Mar 28, 2014
    • rswindell's avatar
      Change the target to Windows XP-IA32: resolves the "not a valid Win32 · 40f5417e
      rswindell authored
      application" error message (when run on XP) and reportedly will allow target
      executables to run on non-SEE (pre-Pentium III) CPUs. Seriously, anyone really
      running Windows XP on a Pentium II today? I guess it's possible <shrug> and we
      really get little benefit from SSE in Synchronet.
      
      I couldn't get Windows 2000 running in Hyper-V, so I guess Windows 2000 is
      now officially unsupported by Synchronet (and long unsupported by Microsoft).
      
      Thanks to Android8675 for the bug report and Rushfan for the solution tip.
      40f5417e
  11. Mar 13, 2014
  12. Oct 21, 2011
  13. Oct 16, 2011
  14. Oct 09, 2011
Loading