| 648 | } |
| 649 | |
| 650 | int access_or_die(const char *path, int mode, unsigned flag) |
| 651 | { |
| 652 | int ret = access(path, mode); |
| 653 | if (ret && !access_error_is_ok(errno, flag)) |
| 654 | die_errno(_("unable to access '%s'"), path); |
| 655 | return ret; |
| 656 | } |
| 657 | |
| 658 | char *xgetcwd(void) |
| 659 | { |
no test coverage detected