** complete copyright information.
*/
+#include <sysexits.h>
#include <h/mh.h>
#include <pwd.h>
+#include <unistd.h>
/*
/*
-** Compactify a path name by removing unneccessary parts.
+** Compactify a path name by removing unnecessary parts.
** Removes trailing slashes. Cares to never remove all characters.
** Modifies f (never enlarges it).
**
char *cp=buf, *pp;
if (!(pp = context_find("path")) || !*pp) {
- adios(NULL, "Non-empty profile entry `Path' required");
+ adios(EX_CONFIG, NULL, "Non-empty profile entry `Path' required");
}
if (*pp != '/') {
/* Path is relative to $HOME */