version 1.342, 2018/09/20 23:40:16 |
version 1.343, 2018/11/16 03:26:01 |
|
|
if (strcasecmp(path, "none") == 0) |
if (strcasecmp(path, "none") == 0) |
return xstrdup("none"); |
return xstrdup("none"); |
expanded = tilde_expand_filename(path, getuid()); |
expanded = tilde_expand_filename(path, getuid()); |
if (*expanded == '/') |
if (path_absolute(expanded)) |
return expanded; |
return expanded; |
if (getcwd(cwd, sizeof(cwd)) == NULL) |
if (getcwd(cwd, sizeof(cwd)) == NULL) |
fatal("%s: getcwd: %s", __func__, strerror(errno)); |
fatal("%s: getcwd: %s", __func__, strerror(errno)); |