Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 23 Nov, 2021 1 commit
  2. 22 May, 2021 1 commit
    • Rob Swindell's avatar
      Character 255 is a non-breaking space in CP437 · c5bdb264
      Rob Swindell authored
      Now IS_WHITESPACE() will return true for that char and this allows things like truncsp() to truncate trailing white-space (e.g. from a FILE_ID.DIZ), even if it contains a terminating 0xFF character for some unknown reason.
      c5bdb264
  3. 05 Apr, 2021 1 commit
    • Rob Swindell's avatar
      Allow SAFECAT to work on uchar arrays · 1111fb24
      Rob Swindell authored
      Caught by CID 331001
      
      The use of SAFECAT() with a typecast to a pointer is not going to work as expected. This change broke line-based telnet-gateway functionality (unconfirmed, but pretty obvious).
      1111fb24
  4. 04 Apr, 2021 1 commit
    • Rob Swindell's avatar
      A poll() failure with EINTR does not mean a socket is closed. · fcf58640
      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...
      fcf58640
  5. 15 Feb, 2021 4 commits
  6. 21 Nov, 2020 2 commits
  7. 06 Nov, 2020 1 commit
    • Rob Swindell's avatar
      Replace ctype.h function calls with new MSVC-safe XPDEV macros · 8a7b7308
      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.
      8a7b7308
  8. 16 Aug, 2020 2 commits
  9. 15 Aug, 2020 1 commit
    • rswindell's avatar
      Resolve GCC compile warnings on 32-bit Linux by insuring that PRId/uOFF · 278f43db
      rswindell authored
      expands to "ld"/"lu", respectively since off_t is a long (not an int):
      examples:
      ftpsrvr.c:1374:77: warning: format '%d' expects argument of type 'int', but argument 6 has type 'off_t {aka long int}' [-Wformat=]
         lprintf(LOG_WARNING, "%04d <%s> !DATA cannot send file (%s) with size of %"PRIdOFF" bytes"
      websrvr.c:6063:45: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'off_t {aka long int}' [-Wformat=]
         lprintf(LOG_INFO,"%04d Sending file: %s (%"PRIuOFF" bytes)"
      278f43db
  10. 26 May, 2020 1 commit
  11. 25 May, 2020 1 commit
  12. 17 Apr, 2020 1 commit
  13. 31 Mar, 2020 1 commit
  14. 16 Jul, 2019 1 commit
  15. 09 Jul, 2019 1 commit
  16. 31 Jan, 2019 1 commit
  17. 28 Aug, 2018 1 commit
  18. 09 Mar, 2018 1 commit
  19. 20 Feb, 2018 2 commits
  20. 08 Dec, 2017 1 commit
  21. 26 Aug, 2017 1 commit
    • rswindell's avatar
      c_unescape_char/str now supports \ddd (for decimal character literals, · ed3b28f1
      rswindell authored
      ala Synchronet text.dat) by default and octal format only if
      C_UNESCAPE_OCTAL_SUPPORT is defined.
      \X## is no longer supported (must use the C-standard \x##
      Only 2 hex digits are now supported, longer streams of valid hex digits will
      not be parsed as a literal character (unlike the C standard)
      ed3b28f1
  22. 08 Dec, 2016 1 commit
  23. 19 Nov, 2016 1 commit
  24. 04 Dec, 2015 1 commit
  25. 22 Aug, 2015 2 commits
  26. 04 Apr, 2014 1 commit
  27. 18 Mar, 2014 1 commit
  28. 06 Feb, 2014 3 commits
  29. 04 Sep, 2013 1 commit
  30. 18 Feb, 2012 1 commit
  31. 26 Jan, 2012 1 commit