--- pegasus/src/Pegasus/Common/System.cpp.PATH_MAX 2006-06-09 13:36:52.000000000 -0400 +++ pegasus/src/Pegasus/Common/System.cpp 2006-07-27 14:11:16.000000000 -0400 @@ -185,7 +185,7 @@ char *System::extract_file_path(const char *fullpath, char *dirname) { char *p; - char buff[4096]; + char buff[PATH_MAX]; if (fullpath == NULL) { dirname[0] = '\0';