while (!had_an_error && (c = strchr((c + 1), '/')) != NULL) {
*c = '\0';
if (access(path, X_OK)) {
if (errno != ENOENT){
advise (dir, "unable to create directory");
while (!had_an_error && (c = strchr((c + 1), '/')) != NULL) {
*c = '\0';
if (access(path, X_OK)) {
if (errno != ENOENT){
advise (dir, "unable to create directory");