summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessUNIX.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-22 14:03:40 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-22 14:03:40 (GMT)
commitd010ba9fa71035f44e6df2fdf86bf38ab8559df5 (patch)
tree5febe614b72558ce1a618d15fc67f141203049f4 /Source/kwsys/ProcessUNIX.c
parentdf246f7c7f655f9ea6df0c64e131d2eb0cafd789 (diff)
parenta132064b4821ee21c45717b459351ac4ffe4d372 (diff)
downloadCMake-d010ba9fa71035f44e6df2fdf86bf38ab8559df5.zip
CMake-d010ba9fa71035f44e6df2fdf86bf38ab8559df5.tar.gz
CMake-d010ba9fa71035f44e6df2fdf86bf38ab8559df5.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2016-02-22 (4847aedd)
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r--Source/kwsys/ProcessUNIX.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 07c644b..7402955 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -505,6 +505,8 @@ void kwsysProcess_SetTimeout(kwsysProcess* cp, double timeout)
{
cp->Timeout = 0;
}
+ // Force recomputation of TimeoutTime.
+ cp->TimeoutTime.tv_sec = -1;
}
/*--------------------------------------------------------------------------*/