[Cmake-commits] [cmake-commits] hoffman committed ProcessWin32.c 1.69 1.70
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jun 25 16:41:59 EDT 2009
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv1850/Source/kwsys
Modified Files:
ProcessWin32.c
Log Message:
ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail
Index: ProcessWin32.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/ProcessWin32.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -C 2 -d -r1.69 -r1.70
*** ProcessWin32.c 11 May 2008 02:48:51 -0000 1.69
--- ProcessWin32.c 25 Jun 2009 20:41:57 -0000 1.70
***************
*** 807,811 ****
if(file)
{
! *pfile = malloc(strlen(file)+1);
if(!*pfile)
{
--- 807,811 ----
if(file)
{
! *pfile = (char*)malloc(strlen(file)+1);
if(!*pfile)
{
***************
*** 1667,1671 ****
if(cp->RealWorkingDirectoryLength > 0)
{
! cp->RealWorkingDirectory = malloc(cp->RealWorkingDirectoryLength);
if(!cp->RealWorkingDirectory)
{
--- 1667,1671 ----
if(cp->RealWorkingDirectoryLength > 0)
{
! cp->RealWorkingDirectory = (char*)malloc(cp->RealWorkingDirectoryLength);
if(!cp->RealWorkingDirectory)
{
***************
*** 1835,1839 ****
/* The forwarding executable is given a handle to the error pipe
and resume and kill events. */
! realCommand = malloc(strlen(cp->Win9x)+strlen(cp->Commands[index])+100);
if(!realCommand)
{
--- 1835,1839 ----
/* The forwarding executable is given a handle to the error pipe
and resume and kill events. */
! realCommand = (char*)malloc(strlen(cp->Win9x)+strlen(cp->Commands[index])+100);
if(!realCommand)
{
***************
*** 2673,2677 ****
reference count to the module so we do not need to close the
handle. */
! HANDLE hNT = GetModuleHandle("ntdll.dll");
if(hNT)
{
--- 2673,2677 ----
reference count to the module so we do not need to close the
handle. */
! HMODULE hNT = GetModuleHandle("ntdll.dll");
if(hNT)
{
***************
*** 2777,2781 ****
reference count to the module so we do not need to close the
handle. */
! HANDLE hKernel = GetModuleHandle("kernel32.dll");
if(hKernel)
{
--- 2777,2781 ----
reference count to the module so we do not need to close the
handle. */
! HMODULE hKernel = GetModuleHandle("kernel32.dll");
if(hKernel)
{
More information about the Cmake-commits
mailing list