Skip to content
Snippets Groups Projects
  1. Mar 19, 2019
  2. Mar 17, 2019
    • Sebastian Holtermann's avatar
      SystemTools: Add SystemToolsStatic class skeleton · 6fed6364
      Sebastian Holtermann authored
      The new private class SystemToolsStatic is supposed to hold all static
      SystemTools variables in a single singleton class.  Static SystemTools
      variables will be moved to SystemToolsStatic in following commits.  This patch
      only adds the class skeleton type, its allocation and deletion.
      6fed6364
  3. Mar 12, 2019
  4. Mar 07, 2019
  5. Mar 05, 2019
  6. Feb 25, 2019
  7. 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
  8. Feb 14, 2019
  9. Feb 13, 2019
  10. Feb 12, 2019
  11. Feb 06, 2019
  12. Feb 05, 2019
  13. Feb 04, 2019
  14. Jan 30, 2019
  15. Jan 24, 2019
  16. Jan 23, 2019
  17. Jan 22, 2019
  18. Jan 21, 2019
  19. Jan 18, 2019
  20. Jan 14, 2019
  21. Jan 11, 2019
  22. Dec 12, 2018
  23. Dec 11, 2018
  24. 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
  25. Oct 25, 2018
Loading