X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fpath.c;h=66bb8f1f5c83ec471b85a15a99f416f9f333e4e4;hp=21796a7aec9ba46f0b84eaccc2187feabb6dca97;hb=fc9279e818dfc96c63a5d75a89080cc68cfe1170;hpb=fac725ffc663490c44a7e6930a35402834869402 diff --git a/sbr/path.c b/sbr/path.c index 21796a7..66bb8f1 100644 --- a/sbr/path.c +++ b/sbr/path.c @@ -6,8 +6,10 @@ ** complete copyright information. */ +#include #include #include +#include /* @@ -75,7 +77,7 @@ try_it: /* -** 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). ** @@ -284,7 +286,7 @@ toabsdir(char *path) 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 */