Skip to content
Snippets Groups Projects
  1. Jan 05, 2011
  2. Jan 03, 2011
  3. Dec 28, 2010
  4. Dec 21, 2010
  5. 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
  6. 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
  7. Dec 01, 2010
  8. Nov 09, 2010
  9. Sep 10, 2010
  10. Sep 09, 2010
  11. Sep 08, 2010
  12. Aug 27, 2010
  13. Aug 16, 2010
  14. 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
  15. 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
  16. Jun 30, 2010
  17. Jun 29, 2010
  18. Jun 11, 2010
  19. Jun 10, 2010
    • Brad King's avatar
      KWSys: Configure DynamicLoader library prefix/suffix · 335447fb
      Brad King authored
      The DynamicLoader::LibPrefix and DynamicLoader::LibExtension methods
      previously hard-coded the module name components for each platform.  Set
      them from the CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX
      CMake variables instead.  This ensures consistency in a program that
      uses these methods to construct the file names for its own modules.
      335447fb
  20. Jun 04, 2010
    • Brad King's avatar
      KWSys: Remove "copyPermissions" parameters · a0480e22
      Brad King authored
      The CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory
      methods should always copy permissions.  The special cases in which a
      caller would pass copyPermissions=false should be handled at the call
      site.  The parameter needlessly complicates the interface and semantics
      of these methods.
      a0480e22
  21. Jun 03, 2010
    • Brad King's avatar
      KWSys: Avoid stat in CopyFileAlways (#10790) · 8d521366
      Brad King authored
      On Windows 7 the file size reported by 'stat' on a new file sometimes
      reports zero even though the real size is correct.  This causes our
      CopyFileAlways method to falsely detect copy failure.  Work around the
      problem by trusting the state of ofstream after writing the file.
      8d521366
  22. May 12, 2010
  23. May 11, 2010
    • Brad King's avatar
      KWSys: Process tree kill for kFreeBSD, GNU/Hurd · edae70c0
      Brad King authored
      kFreeBSD and Hurd have the same userland as Linux.  This change is
      necessary to enable kwsysProcessKill() to kill child processes on
      kFreeBSD.  The bug was detected by CTestTestTimeout test.
      
      Patch from "Modestas Vainius <modestas@vainius.eu>".
      See issue #10432.
      edae70c0
  24. May 04, 2010
  25. Apr 29, 2010
  26. Apr 28, 2010
  27. Apr 19, 2010
  28. Apr 09, 2010
  29. Mar 26, 2010
  30. Mar 22, 2010
  31. Mar 18, 2010
Loading