summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-07-03 16:00:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-07-03 16:00:41 (GMT)
commit4772d6b649947c42a66e66e5e01ecb9b1e58970b (patch)
treefbef9d7c5751027ea5892492b51ab491702ca355 /Source
parent0ae1970a5e9b20c5a7c4d6a55cb33fe32f0d098c (diff)
downloadCMake-4772d6b649947c42a66e66e5e01ecb9b1e58970b.zip
CMake-4772d6b649947c42a66e66e5e01ecb9b1e58970b.tar.gz
CMake-4772d6b649947c42a66e66e5e01ecb9b1e58970b.tar.bz2
fix for hp build
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/ProcessUNIX.c2
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.