projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Remove stdio internals manipulation in sbr/m_getfld.c"
[mmh]
/
sbr
/
path.c
diff --git
a/sbr/path.c
b/sbr/path.c
index
21796a7
..
f95a758
100644
(file)
--- a/
sbr/path.c
+++ b/
sbr/path.c
@@
-6,8
+6,10
@@
** complete copyright information.
*/
** complete copyright information.
*/
+#include <sysexits.h>
#include <h/mh.h>
#include <pwd.h>
#include <h/mh.h>
#include <pwd.h>
+#include <unistd.h>
/*
/*
@@
-284,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 */