|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.39, 2005/08/13 19:53:53 | version 1.40, 2005/08/13 21:16:58 | ||
|---|---|---|---|
|
|
||
| realpath(const char *path, char *resolved) | realpath(const char *path, char *resolved) | ||
| { | { | ||
| struct stat sb; | struct stat sb; | ||
| int idx = 0, n, nlnk = 0, serrno = errno; | int idx = 0, n, nlnk = 0; | ||
| const char *q; | const char *q; | ||
| char *p, wbuf[2][MAXPATHLEN]; | char *p, wbuf[2][MAXPATHLEN]; | ||
| size_t len; | size_t len; |