projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Break out the unquote functionality to a separate function.
[mmh]
/
sbr
/
path.c
diff --git
a/sbr/path.c
b/sbr/path.c
index
90d3a27
..
f95a758
100644
(file)
--- a/
sbr/path.c
+++ b/
sbr/path.c
@@
-6,6
+6,7
@@
** complete copyright information.
*/
** complete copyright information.
*/
+#include <sysexits.h>
#include <h/mh.h>
#include <pwd.h>
#include <unistd.h>
#include <h/mh.h>
#include <pwd.h>
#include <unistd.h>
@@
-285,7
+286,7
@@
toabsdir(char *path)
char *cp=buf, *pp;
if (!(pp = context_find("path")) || !*pp) {
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 */
}
if (*pp != '/') {
/* Path is relative to $HOME */