*** Modules/getpath.c.orig Thu Apr 8 11:02:37 2004 --- Modules/getpath.c Thu Apr 8 11:30:11 2004 *************** *** 601,606 **** --- 601,607 ---- if (pfound > 0) { reduce(prefix); reduce(prefix); + if(!prefix[0]) strcpy(prefix,separator); } else strncpy(prefix, PREFIX, MAXPATHLEN); *************** *** 609,614 **** --- 610,616 ---- reduce(exec_prefix); reduce(exec_prefix); reduce(exec_prefix); + if(!exec_prefix[0]) strcpy(exec_prefix,separator); } else strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN);