1. 14 Mar, 2022 1 commit
  2. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      SonarLint reports the latter to be better:
      
      std::scoped_lock basically provides the same feature as std::lock_guard,
      but is more generic: It can lock several mutexes at the same time, with a
      deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
      to perform simultaneous locking with std::lock_guard is significantly more
      complex. Therefore, it is simpler to use std::scoped_lock all the time,
      even when locking only one mutex (there will be no performance impact).
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  3. 20 Oct, 2021 1 commit
  4. 13 Oct, 2021 2 commits
  5. 24 Jun, 2021 1 commit
  6. 05 Feb, 2021 1 commit
  7. 01 Jan, 2021 1 commit
  8. 02 Dec, 2020 1 commit
  9. 17 Oct, 2020 1 commit
    • Max Kellermann's avatar
      lib/nfs/patches: disable the snprintf->sprintf_s alias · 6a65b4c3
      Max Kellermann authored
      snprintf() is available on mingw, and the libnfs kludge broke the
      build with mingw, because sprintf_s() was now both an inline function
      and a "dllimport" function (because the macro renamed the inline
      function snprintf() to sprintf_s() in mingw's stdio.h).
      6a65b4c3
  10. 15 Oct, 2020 1 commit
  11. 14 Oct, 2020 2 commits
  12. 08 Oct, 2020 2 commits
  13. 30 May, 2020 1 commit
  14. 23 Apr, 2020 5 commits
  15. 08 Apr, 2020 1 commit
  16. 26 Mar, 2020 1 commit
  17. 16 Mar, 2020 1 commit
  18. 13 Mar, 2020 2 commits
    • Rosen Penev's avatar
      replace stdint.h with cstdint · a2f5a63b
      Rosen Penev authored
      The former is deprecated by C++14. The standard says they are the same:
      
      The header defines all types and macros the same as the C standard library
      header<stdint.h>.
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      Unverified
      a2f5a63b
    • Rosen Penev's avatar
      replace stddef.h with cstddef · 2db8bcc3
      Rosen Penev authored
      The former is deprecated with C++14. The standard says both are the same:
      
      The contents and meaning of the header<cstddef>are the same as the C
      standard library header<stddef.h>,except that it does not declare the type
      wchar_t, that it also declares the type byte and its associated
      operations (21.2.5), and as noted in 21.2.3 and 21.2.4.
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      Unverified
      2db8bcc3
  19. 12 Mar, 2020 1 commit
  20. 01 Feb, 2020 1 commit
  21. 18 Jan, 2020 1 commit
  22. 12 Jan, 2020 1 commit
  23. 03 Jan, 2020 1 commit
  24. 16 Dec, 2019 1 commit
  25. 05 Jul, 2019 1 commit
  26. 17 Jun, 2019 1 commit
  27. 07 May, 2019 1 commit
  28. 26 Apr, 2019 1 commit
  29. 25 Apr, 2019 1 commit
  30. 04 Apr, 2019 1 commit
  31. 15 Feb, 2019 1 commit
  32. 19 Nov, 2018 1 commit
    • Max Kellermann's avatar
      check.h: remove obsolete header · ce49d99c
      Max Kellermann authored
      Since we switched from autotools to Meson in commit
      94592c14, we don't need to include
      `config.h` early to properly enable large file support.  Meson passes
      the required macros on the compiler command line instead of defining
      them in `config.h`.
      
      This means we can include `config.h` at any time, whenever we want to
      check its macros, and there are no ordering constraints.
      ce49d99c