diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-07-03 16:00:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-07-03 16:00:41 (GMT) |
commit | 4772d6b649947c42a66e66e5e01ecb9b1e58970b (patch) | |
tree | fbef9d7c5751027ea5892492b51ab491702ca355 /Source/kwsys/ProcessUNIX.c | |
parent | 0ae1970a5e9b20c5a7c4d6a55cb33fe32f0d098c (diff) | |
download | CMake-4772d6b649947c42a66e66e5e01ecb9b1e58970b.zip CMake-4772d6b649947c42a66e66e5e01ecb9b1e58970b.tar.gz CMake-4772d6b649947c42a66e66e5e01ecb9b1e58970b.tar.bz2 |
fix for hp build
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-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 d05213c..a9e0b99 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -1739,7 +1739,7 @@ static void kwsysProcessKill(pid_t process_id) char fname[4096]; #endif const int bufferSize = 1024; - char buffer[bufferSize+1]; + char buffer[1025]; // should be buffersize +1 but fails to build on hp cc struct dirent* d; /* Each process has a directory in /proc whose name is the pid. |