diff options
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -198,18 +198,13 @@ path_real_done: char *path_real(const char *orig) { int links = 0; char *tmp, *ret; - DIR *d; if(orig == NULL) return NULL; - if((d = opendir(".")) == NULL) - return NULL; tmp = path_absolute(orig); ret = path_real_rec(tmp, &links); free(tmp); - fchdir(dirfd(d)); - closedir(d); return ret; } |