X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fpath.c;h=66bb8f1f5c83ec471b85a15a99f416f9f333e4e4;hp=90d3a27387ab9373a97c19c35dcfb9133c8ed33e;hb=fc9279e818dfc96c63a5d75a89080cc68cfe1170;hpb=2abb9a7cfb0930e27062088734d306e7d78e4cc2 diff --git a/sbr/path.c b/sbr/path.c index 90d3a27..66bb8f1 100644 --- a/sbr/path.c +++ b/sbr/path.c @@ -6,6 +6,7 @@ ** complete copyright information. */ +#include #include #include #include @@ -76,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). ** @@ -285,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 */