[Cmake-commits] [cmake-commits] alex committed ProcessUNIX.c 1.88 1.89
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 19 12:57:42 EDT 2009
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv13984
Modified Files:
ProcessUNIX.c
Log Message:
fix two more icpc warnings, ok by Brad (float compared for equality, unused variable)
Alex
Index: ProcessUNIX.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/ProcessUNIX.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -C 2 -d -r1.88 -r1.89
*** ProcessUNIX.c 28 Sep 2009 15:37:22 -0000 1.88
--- ProcessUNIX.c 19 Oct 2009 16:57:36 -0000 1.89
***************
*** 1922,1926 ****
/* The first time this is called, we need to calculate the time at
which the child will timeout. */
! if(cp->Timeout && cp->TimeoutTime.tv_sec < 0)
{
kwsysProcessTime length = kwsysProcessTimeFromDouble(cp->Timeout);
--- 1922,1926 ----
/* The first time this is called, we need to calculate the time at
which the child will timeout. */
! if(cp->Timeout > 0 && cp->TimeoutTime.tv_sec < 0)
{
kwsysProcessTime length = kwsysProcessTimeFromDouble(cp->Timeout);
***************
*** 2711,2715 ****
read(cp->PipeReadEnds[KWSYSPE_PIPE_SIGNAL], &buf, 1);
status=write(cp->SignalPipe, &buf, 1);
!
}
}
--- 2711,2715 ----
read(cp->PipeReadEnds[KWSYSPE_PIPE_SIGNAL], &buf, 1);
status=write(cp->SignalPipe, &buf, 1);
! (void)status;
}
}
More information about the Cmake-commits
mailing list