mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
KWSys 2013-12-19 (88165c5e)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ 88165c5e | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 1010d0e3..88165c5e
Clinton Stimpson (2):
ab6f8c36 FStream: Fix rdbuf() return and use use of FStream in SystemTools.
88165c5e Encoding: Fix bug in kwsysEncoding_DupToNarrow.
Rolf Eike Beer (2):
d2bcbe11 SystemInformation: extract CPU information on Linux/Sparc
b2fd7da5 ProcessUNIX: close /proc entry before starting recursion
Ådne Hovda (1):
a02a1ad2 SystemInformation: Fix compilation on HP-UX 11.11 hppa
Change-Id: I225e0517379d88612f18215b43c7d6a9daad6326
This commit is contained in:
+1
-1
@@ -2449,6 +2449,7 @@ static void kwsysProcessKill(pid_t process_id)
|
||||
if(f)
|
||||
{
|
||||
size_t nread = fread(buffer, 1, KWSYSPE_PIPE_BUFFER_SIZE, f);
|
||||
fclose(f);
|
||||
buffer[nread] = '\0';
|
||||
if(nread > 0)
|
||||
{
|
||||
@@ -2463,7 +2464,6 @@ static void kwsysProcessKill(pid_t process_id)
|
||||
}
|
||||
}
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user