diff options
author | Brad King <brad.king@kitware.com> | 2003-08-05 13:07:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-05 13:07:54 (GMT) |
commit | 5ffb75bc6c18b05e28d88d8b17e0a19750c34a22 (patch) | |
tree | b6ba4484e6ca4cb6a456c585a2847a4d8e541d48 /Source | |
parent | 75ce40f4d6316f2d63cde5e98377d473f53c44d1 (diff) | |
download | CMake-5ffb75bc6c18b05e28d88d8b17e0a19750c34a22.zip CMake-5ffb75bc6c18b05e28d88d8b17e0a19750c34a22.tar.gz CMake-5ffb75bc6c18b05e28d88d8b17e0a19750c34a22.tar.bz2 |
BUG: GetErrorString should return ErrorMessage buffer, not the pipe buffer.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 62fdae4..3f51613 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -263,7 +263,7 @@ const char* kwsysProcess_GetErrorString(kwsysProcess* cp) { if(cp->State == kwsysProcess_State_Error) { - return cp->PipeBuffer; + return cp->ErrorMessage; } return 0; } |