mail-error.c revision 1bfba107225171f51cc6f37774b31da8c5572fb0
/* Copyright (c) 2007-2009 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "mail-error.h"
#include <unistd.h>
#include <pwd.h>
#include <grp.h>
const char **error_string_r)
{
"Directory structure is broken";
} else {
return FALSE;
}
return TRUE;
}
static const char *
{
int ret = -1;
if (ret == 0)
break;
/* see if we have access to parent directory */
/* probably mkdir_parents() failed here, find the first
parent directory we couldn't create */
} else {
/* some other error, can't handle it */
break;
}
dir = "/";
}
if (ret == 0) {
/* dir is the first parent directory we can stat() */
else
else
else
} else
}
}
{
}
{
}