Lines 218-225
miss(NODE *p, char *tail)
Link Here
|
218 |
} else if (!(p->flags & F_MODE)) |
218 |
} else if (!(p->flags & F_MODE)) |
219 |
(void)printf(" (directory not created: mode not specified)"); |
219 |
(void)printf(" (directory not created: mode not specified)"); |
220 |
else if (mkdir(path, S_IRWXU)) |
220 |
else if (mkdir(path, S_IRWXU)) |
221 |
(void)printf(" (directory not created: %s)", |
221 |
if (errno == EEXIST) |
222 |
strerror(errno)); |
222 |
(void)printf(" (path already exists)"); |
|
|
223 |
else |
224 |
(void)printf(" (directory not created: %s)", |
225 |
strerror(errno)); |
223 |
else { |
226 |
else { |
224 |
create = 1; |
227 |
create = 1; |
225 |
(void)printf(" (created)"); |
228 |
(void)printf(" (created)"); |
226 |
- |
|
|