Skip to content
Snippets Groups Projects
  1. Jan 24, 2019
  2. Jan 23, 2019
  3. Jan 22, 2019
  4. Jan 21, 2019
  5. Jan 18, 2019
  6. Jan 14, 2019
  7. Jan 11, 2019
  8. Dec 12, 2018
  9. Dec 11, 2018
  10. Nov 28, 2018
    • Brad King's avatar
      Merge topic 'SystemTools-simplify-touch' · 5ea12a52
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      
      4f9fb9aa SystemTools: Fix Touch to avoid requiring file ownership
      
      Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !115
      5ea12a52
    • Isaiah's avatar
      SystemTools: Fix Touch to avoid requiring file ownership · 4f9fb9aa
      Isaiah authored and Brad King's avatar Brad King committed
      SystemTools::Touch should only require +w file permissions. The previous
      implementation used `stat` to get the current time, and then passed that
      time to one of utimensat/utimes/utime. However, utimes/utimensat only
      permit an arbitrary-time argument to be passed by the file owner.
      
      Therefore, per the docs, we pass NULL for the `times` argument to utimes
      and utimensat, to indicate using the current time. This is permitted for
      any UID with +w on the file.
      
      Remove plain `utime` fallback that is no longer necessary.
      4f9fb9aa
  11. Oct 25, 2018
  12. Oct 24, 2018
  13. Oct 19, 2018
  14. Oct 18, 2018
    • Modestas Vainius's avatar
      SystemInformation: Fix compilation on GNU/{kFreeBSD,Hurd} · 162b3ed7
      Modestas Vainius authored and Brad King's avatar Brad King committed
      Includes of `cxxabi.h`, `execinfo.h`, etc. were guarded more
      restrictively (e.g. additionally by `__linux`) than the code which needs
      them (just by e.g.  `KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE`).
      kFreeGNU has some of these headers so extend the `__linux` ifdef to
      `kFreeBSD` and `Hurd` as well.
      
      Ideally the code should be fixed to have the same level of ifdef
      protection for both include and use of these APIs, but this is good
      enough for now pending further investigation.
      162b3ed7
  15. Oct 05, 2018
  16. Oct 04, 2018
  17. Oct 03, 2018
  18. Oct 02, 2018
  19. Sep 14, 2018
  20. Sep 12, 2018
  21. Sep 11, 2018
  22. Sep 07, 2018
  23. Aug 07, 2018
  24. Aug 01, 2018
  25. Jul 12, 2018
  26. Jul 10, 2018
  27. Jul 09, 2018
    • Brad King's avatar
      XL: Restore suppression of infinite loop warning in process test · aebe4597
      Brad King authored
      Our use of the `-qsuppress=` flag to suppress this warning was removed
      by commit 51e95ba7 (XL: Fix compatibility with newer clang-based XL on
      Linux, 2017-04-28) because XL 13.1.[1-6] for Linux does not support the
      flag.  XL 16.1 restores support for the flag.  Restore our use of it for
      this version.  Suppress the warning on intermediate versions by blocking
      all warnings with `-w`.
      aebe4597
  28. Jun 22, 2018
  29. Jun 21, 2018
  30. Jun 14, 2018
  31. Jun 13, 2018
    • Marian Klymov's avatar
      SystemInformation: Avoid use of dangling pointers on Solaris · 61501133
      Marian Klymov authored and Brad King's avatar Brad King committed
      `ParseValueFromKStat` was constructing local `std::string` instances in
      a loop and passing their `.c_str()` to `RunProcess` after destruction.
      Preserve the strings in a vector to avoid dangling pointers.
      
      While at it, simplify some logic by using standard algorithms.
      61501133
  32. Jun 12, 2018
Loading