… | |
… | |
1639 | /* keep the absolute path in string form at all times */ |
1639 | /* keep the absolute path in string form at all times */ |
1640 | /* fuck yeah. */ |
1640 | /* fuck yeah. */ |
1641 | |
1641 | |
1642 | #if !HAVE_AT |
1642 | #if !HAVE_AT |
1643 | |
1643 | |
1644 | /* a bit like realpath, but usually faster because it doesn'T have to return */ |
1644 | /* a bit like realpath, but usually faster because it doesn't have to return */ |
1645 | /* an absolute or canonical path */ |
1645 | /* an absolute or canonical path */ |
1646 | static const char * |
1646 | static const char * |
1647 | wd_expand (struct etp_tmpbuf *tmpbuf, eio_wd wd, const char *path) |
1647 | wd_expand (struct etp_tmpbuf *tmpbuf, eio_wd wd, const char *path) |
1648 | { |
1648 | { |
1649 | if (!wd || *path == '/') |
1649 | if (!wd || *path == '/') |