return;
/*
- ** Find user's home directory. Try the HOME environment variable first,
+ ** Find user's home directory. Try the HOME environment variable first,
** the home directory field in the password file if that's not found.
*/
if ((mypath = getenv("HOME")) == (char *)0) {
- if ((pw = getpwuid(getuid())) == (struct passwd *)0 || *pw->pw_dir == '\0')
+ if ((pw = getpwuid(getuid())) == (struct passwd *)0 ||
+ *pw->pw_dir == '\0')
adios(NULL, "cannot determine your home directory");
else
mypath = pw->pw_dir;
*/
if ((cp = context_find("path")) == (char *)0)
- adios(NULL, "Your %s file does not contain a path entry.", defpath);
+ adios(NULL, "Your %s file does not contain a path entry.",
+ defpath);
if (*cp == '\0')
adios(NULL, "Your `%s' profile file does not contain a valid path entry.", defpath);
adios(nd, "error opening");
cp = concat("Your MH-directory \"", nd, "\" doesn't exist; Create it? ", NULL);
if (!getanswer(cp))
- adios(NULL, "unable to access MH-directory \"%s\"", nd);
+ adios(NULL, "unable to access MH-directory \"%s\"",
+ nd);
free(cp);
if (!makedir(nd))
adios(NULL, "unable to create %s", nd);