Skip to content
Snippets Groups Projects
  1. Sep 06, 2011
    • David Cole's avatar
      KWSys: Add symlinks to directories as files (#12284) · 1ecd1ab6
      David Cole authored
      
      This behaviour was previously broken; regardless of the
      RecurseThroughSymLinks value, symlinks to directories were
      NEVER added as files in the results.
      
      When RecurseThroughSymLinks is ON, symlinks to directories
      should be recursed as if they were the actual directories
      to gather the files within.
      
      However, when RecurseThroughSymLinks is OFF, symlinks to
      directories should be returned as files in the result.
      
      Inspired-by: default avatarJohan Björk <phb@spotify.com>
      1ecd1ab6
    • David Cole's avatar
      KWSys: Remove always-true dir_only parameter · bbbfe083
      David Cole authored
      Its presence confuses, and, since it is always true, is useless.
      bbbfe083
  2. Sep 01, 2011
  3. Aug 20, 2011
  4. Aug 09, 2011
    • Brad King's avatar
      KWSys: __int64 and long long may be same type in specialization · c0c07358
      Brad King authored
      For the specialization of hash<>(), the types long long and __int64
      may be the same type. While the CMakeLists indicate that if __int64 is
      a alias for another type the it will not be enabled, on mingw they
      both appear to be the same type and enabled.
      
      This patch only enable specialization for long long OR __int64 to
      avoid the potential conflict.
      
      Author: Bradley Lowekamp <blowekamp@mail.nih.gov>
      Change-Id: I813a9ac008b296fab5a369c48e6dd5460fd0c035
      c0c07358
  5. Aug 08, 2011
  6. Aug 04, 2011
  7. Aug 03, 2011
  8. Jun 19, 2011
  9. May 09, 2011
  10. Apr 13, 2011
    • Brad King's avatar
      KWSys: Remove unused CheckCXXSourceRuns cmake module · af059ea0
      Brad King authored
      This file has not been used in KWSys since commit "Moved test for large
      file support into kwsysPlatformCxxTests.cxx", 2006-08-25.  CMake 2.6.0
      and above come with a copy of this module anyway, and KWSys has required
      CMake 2.6.3 since commit "KWSys: Require at least CMake 2.6.3",
      2011-03-01.
      af059ea0
  11. Mar 29, 2011
  12. Mar 23, 2011
  13. Mar 01, 2011
  14. Jan 10, 2011
  15. Jan 07, 2011
    • David Cole's avatar
      Fix WOW64 registry mode on Windows 2000 (#10759) · 885bc3c9
      David Cole authored
      
      CMake fails to find any registry paths on Windows 2000: according to regmon
      it fails with an access denied error. I double checked all the access rights
      and they are fine. After checking the access modes on MSDN I found that it
      says KEY_WOW64_32KEY / KEY_WOW64_64KEY are not supported on Windows 2000.
      CMake does not check if the current system supports Wow64 before applying
      these flags.
      
      This commit adds a check for IsWow64Process in kernel32.dll before adding
      these flags.
      
      Author: Axel Gembe <ago@bastart.eu.org>
      Signed-off-by: default avatarAxel Gembe <ago@bastart.eu.org>
      885bc3c9
  16. Jan 05, 2011
  17. Jan 03, 2011
  18. Dec 28, 2010
  19. Dec 21, 2010
  20. Dec 14, 2010
    • Brad King's avatar
      KWSys: Do not mangle UNC paths in ConvertToUnixOutputPath (#10206) · 6f76e7eb
      Brad King authored
      This method replaces '//' with '/' to make the paths look nicer.
      Originally it correctly skipped a leading '//' in a UNC path as the
      comment says.  However, commit "Removed extra variable initializations"
      (2005-04-15) accidentally removed the "pos=1" initializer.  It was then
      incorrectly restored by commit "Added missing variable initialization"
      (2005-04-15) as just "pos=0".  Restore the proper initializer.
      
      The test for this added by commit "better coverage" (2006-07-31)
      included incorrect output for a sample UNC-like path.  Fix it.
      6f76e7eb
    • Brad King's avatar
      KWSys: Use EXPORT name only if installing library · 4adca755
      Brad King authored
      Do not set KWSYS_INSTALL_LIBRARY_RULE just because the parent project set
      KWSYS_INSTALL_EXPORT_NAME.  Require KWSYS_INSTALL_LIB_DIR to be set too.
      4adca755
  21. Dec 08, 2010
    • Brad King's avatar
      KWSys: Remove realpath from SystemTools::GetPath (#10335) · e84a1190
      Brad King authored
      Commit "merge in changes for beos support" (2006-12-04) added a realpath
      call for every directory parsed out of a PATH-style environment
      variable.  No reason was given in the commit message or comments.
      
      The call incorrectly resolves symlinks in referenced paths.  Remove it.
      If BeOS support really needs it then it can be restored for that
      platform with a full explanation.
      e84a1190
  22. Dec 01, 2010
  23. Nov 09, 2010
  24. Sep 10, 2010
  25. Sep 09, 2010
  26. Sep 08, 2010
  27. Aug 27, 2010
  28. Aug 16, 2010
  29. Jul 09, 2010
    • Brad King's avatar
      KWSys: Avoid undefined behavior in Process crash tests · fe4ee7da
      Brad King authored
      Clang is smart enough to recognize that "*(int*)0=0" invokes undefined
      behavior, warns, and produces an "undefined instruction".  The message
      in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02)
      is incorrect; this is not a Clang bug.  It really is undefined
      behavior.  Use "*(int*)1=0" to produce a crash instead.
      fe4ee7da
  30. Jul 02, 2010
    • Brad King's avatar
      KWSys: Avoid Clang optimizer bug in testProcess-[45] · 01bb687d
      Brad King authored
      Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the
      undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64.
      It causes our crash tests to fail because the child process exits with
      an invalid instruction instead of a segmentation fault.  Work around the
      bug by using "*(int*)1=0" in this case.
      01bb687d
  31. Jun 30, 2010
  32. Jun 29, 2010
    • Brad King's avatar
      KWSys: Pass ptrdiff_t check result to System.c · 36d56c0d
      Brad King authored
      Since commit "Provide unix-sytle command line parsing" (2009-07-13) the
      reference to KWSYS_C_HAS_PTRDIFF_T in System.c has been meaningless
      because the macro was never passed to the compiler!
      36d56c0d
Loading