From 4772d6b649947c42a66e66e5e01ecb9b1e58970b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Sat, 3 Jul 2004 12:00:41 -0400 Subject: [PATCH] fix for hp build --- Source/kwsys/ProcessUNIX.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index d05213ccb..a9e0b9920 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.