Rev 3292 | Rev 3313 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3292 | Rev 3306 | ||
|---|---|---|---|
| Line 57... | Line 57... | ||
| 57 | futex_t cwd_futex = FUTEX_INITIALIZER; |
57 | futex_t cwd_futex = FUTEX_INITIALIZER; |
| 58 | DIR *cwd_dir = NULL; |
58 | DIR *cwd_dir = NULL; |
| 59 | char *cwd_path = NULL; |
59 | char *cwd_path = NULL; |
| 60 | size_t cwd_len = 0; |
60 | size_t cwd_len = 0; |
| 61 | 61 | ||
| 62 | static char *absolutize(const char *path, size_t *retlen) |
62 | char *absolutize(const char *path, size_t *retlen) |
| 63 | { |
63 | { |
| 64 | char *ncwd_path; |
64 | char *ncwd_path; |
| 65 | char *ncwd_path_nc; |
65 | char *ncwd_path_nc; |
| 66 | 66 | ||
| 67 | futex_down(&cwd_futex); |
67 | futex_down(&cwd_futex); |