Skip to content
Snippets Groups Projects
  1. Oct 31, 2014
  2. Oct 16, 2014
  3. Oct 14, 2014
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 9bf03363
      Ben Boeckel authored
      When testing CMAKE_C_COMPILER_ID values, do not explicitly dereference
      or quote the variable.  We want if() to auto-dereference the variable
      and not its value.  While at it, use STREQUAL instead of MATCHES.
      
      Change-Id: I7098fb6474500605b0fe78d764dd2d8afe385f50
      9bf03363
  4. Oct 02, 2014
  5. Sep 25, 2014
    • Brad King's avatar
      Suppress deprecation warnings for GetVersionEx · 29ffaf43
      Brad King authored
      Visual Studio 12 (2013) deprecated GetVersionEx:
      
        warning C4996: 'GetVersionExW': was declared deprecated
      
      in favor of either "versionhelpers.h" or VerifyVersionInfo, neither of
      which exist in some of the older compilers we support.  Rather than
      try to port conditionally to VerifyVersionInfo, simply suppress the
      warning for now.
      
      Change-Id: I85a6547c7dc25a104d4fe9b4034efdc5cea215ef
      29ffaf43
  6. Sep 19, 2014
    • Sean McBride's avatar
      SystemInformation: Fix clang -Wtautological-pointer-compare warning · 6aa1f800
      Sean McBride authored and Brad King's avatar Brad King committed
      warning: comparison of array 'unameInfo.release' not equal to a null
               pointer is always true [-Wtautological-pointer-compare]
        if( unameInfo.release!=0 && strlen(unameInfo.release)>=3 )
            ~~~~~~~~~~^~~~~~~  ~
      
      Indeed an array declared as 'char foo[x]' can never be NULL.
      Removed check against null.
      
      Change-Id: I0352ad50049d926e78b9ecc796493e898b1bfdb7
      6aa1f800
  7. Sep 08, 2014
  8. Sep 06, 2014
  9. Aug 11, 2014
  10. Aug 07, 2014
  11. Aug 04, 2014
  12. Jul 30, 2014
  13. Jul 18, 2014
  14. Jul 17, 2014
    • Bob E's avatar
      SystemInformation: No SA_RESTART on QNX · 697b1401
      Bob E authored and Brad King's avatar Brad King committed
      QNX not support SA_RESTART signal:
      
       /* #define SA_RESTART 0x0040 (not supported yet) */
      
      Use it in SystemInformation only if it is defined.
      
      Change-Id: I4a00179fe3f288bb524e002ba37094c73a8a8b08
      697b1401
  15. Jul 10, 2014
  16. Jul 02, 2014
  17. Jul 01, 2014
    • Chuck Atkins's avatar
      SystemTools: Use extended paths on Windows for > 256 length · 8f991ab0
      Chuck Atkins authored and Brad King's avatar Brad King committed
      Many Windows filesystem calls (but not all) have a MAX_PATH limitation
      of 260 characters (drive letter, colon, backslash, 256 char path, null).
      This is especially problematic for interacting with large highly nested
      build trees (the boost C++ libraries, for example). This limitation can
      be overcome by using extended length paths instead.  By converting
      local filesystem and network paths to extended length paths before
      passing them to the underlying APIs the maximum path length can be as
      large as 32767 characters. The new ConvertToWindowsExtendedPath
      function will convert "E:/a.txt" to "\\?\E:\a.txt" and "\\Foo\a.txt" to
      "\\?\UNC\Foo\a.txt".
      
      See also the MSDN article on "Naming Files, Paths, and Namespaces":
      
       http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247.aspx
      
      This also adds a hidden CMake option, KWSYS_TEST_SYSTEMTOOLS_LONG_PATHS,
      which, when set to TRUE, will enable the extended length path tests.
      This is off by default since if something does go awry, the resulting
      leftovers could be difficult to delete manually.
      
      Change-Id: Ib7ac1f657241ed389169678d1c078c0d836f1c7b
      8f991ab0
  18. Jun 03, 2014
    • Chuck Atkins's avatar
      SystemTools: Refactor test file and directory locations · 97817ce7
      Chuck Atkins authored
      The full path for files used by SystemTools tests were preconfigured
      in a generated header file by CMake variables.  This begins to get
      unwieldy and clutters the CMake files once more variables and files
      get added.  In preperation for more file and directory tests being
      added, the preconfigured variables are now just the source and binary
      directories for which all tests can base themselves off of.
      
      Change-Id: Iae9e11592a3c040ce2e9cc90dbd1ccedfc3129ea
      97817ce7
  19. Jun 02, 2014
    • Chuck Atkins's avatar
      Directory: Make sure the /* suffix uses correct slashes · e4bba930
      Chuck Atkins authored
      When applying the /* wildcard suffix to a directory, make sure the
      direction of the slash getting appended is consistent with the other
      slashes in the path, i.e. /foo/bar and /foo/bar/ become /foo/bar/* and
      similarly \foo\bar and \foo\bar\ become \foo\bar\*.
      
      Change-Id: I44fcf7e97be65923a37aaed615ba5f4012756893
      e4bba930
  20. May 19, 2014
    • Brad King's avatar
      Process: Workaround child kill trouble on Cygwin · c282e64f
      Brad King authored
      When we kill a child we send SIGSTOP first so that we can traverse its
      child processes recursively.  On unwinding the recursion we then send
      SIGKILL.  Current Cygwin has trouble when both signals are sent in quick
      succession by the parent process.  Add a usleep(1) after sending the
      first signal to give up our time slice and give Cygwin a chance to
      process the first signal before sending the second.
      
      Change-Id: I75ab55cf969a0ea6104a9798c761c0ba1fcd1dbc
      c282e64f
  21. May 16, 2014
  22. May 07, 2014
Loading