Skip to content
Snippets Groups Projects
  1. Feb 25, 2019
  2. Feb 22, 2019
    • Brad King's avatar
      Configure: Drop Large File Support macro definitions · 363bf5ab
      Brad King authored
      Historically we have defined macros like
      
      * `_LARGEFILE_SOURCE`
      * `_LARGEFILE64_SOURCE`
      * `_LARGE_FILES`
      * `_FILE_OFFSET_BITS`
      
      in `Configure.h` to activate large file support in system headers.  This
      requires consuming projects to include the header at the beginning of
      every translation unit in order to get the macros defined consistently.
      
      Instead these macros should be defined by the build system on the
      compiler command line.  Drop them from KWSys in favor of that approach.
      The macros are not needed as often as they once were anyway.
      363bf5ab
  3. Feb 14, 2019
  4. Feb 13, 2019
  5. Feb 12, 2019
  6. Feb 06, 2019
  7. Feb 05, 2019
  8. Feb 04, 2019
  9. Jan 30, 2019
  10. Jan 24, 2019
  11. Jan 23, 2019
  12. Jan 22, 2019
  13. Jan 21, 2019
  14. Jan 18, 2019
  15. Jan 14, 2019
  16. Jan 11, 2019
  17. Dec 12, 2018
  18. Dec 11, 2018
  19. 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
  20. Oct 25, 2018
  21. Oct 24, 2018
  22. Oct 19, 2018
  23. 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
  24. Oct 05, 2018
  25. Oct 04, 2018
  26. Oct 03, 2018
Loading