[Cmake-commits] [cmake-commits] hoffman committed util.c 1.6 1.6.10.1

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Nov 4 15:16:48 EST 2008


Update of /cvsroot/CMake/CMake/Utilities/cmtar
In directory public:/mounts/ram/cvs-serv11564/Utilities/cmtar

Modified Files:
      Tag: CMake-2-6
	util.c 
Log Message:
ENH: merge in the rest of the haiku changes 


Index: util.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmtar/util.c,v
retrieving revision 1.6
retrieving revision 1.6.10.1
diff -C 2 -d -r1.6 -r1.6.10.1
*** util.c	4 Dec 2006 22:26:41 -0000	1.6
--- util.c	4 Nov 2008 20:16:45 -0000	1.6.10.1
***************
*** 111,114 ****
--- 111,121 ----
        strcat(dst, "/");
      strcat(dst, dirp);
+ 
+ #if defined(_WIN32)
+     /* On some Windows machine, trying to mkdir("C:") would fail miserably */
+     if (dst[strlen(dst) - 1] == ':')
+       continue;
+ #endif
+ 
      if (
  #if defined(_WIN32) && !defined(__CYGWIN__)



More information about the Cmake-commits mailing list