fix for hp build

This commit is contained in:
Bill Hoffman 2004-07-03 12:00:41 -04:00
parent 0ae1970a5e
commit 4772d6b649
1 changed files with 1 additions and 1 deletions

View File

@ -1739,7 +1739,7 @@ static void kwsysProcessKill(pid_t process_id)
char fname[4096]; char fname[4096];
#endif #endif
const int bufferSize = 1024; 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; struct dirent* d;
/* Each process has a directory in /proc whose name is the pid. /* Each process has a directory in /proc whose name is the pid.