diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -283,9 +283,6 @@ static void path_full(char const *dir, char const *relpath, char *abspath, size_ str_cpy(abspath, abspath_size, dir); } - if (strlen(abspath) == 0 || abspath[strlen(abspath) - 1] != PATH_SEPARATOR) - str_cat(abspath, abspath_size, PATH_SEPARATOR_STR); - while (*relpath) { size_t component_len = strcspn(relpath, ALL_PATH_SEPARATORS); char const *component_end = relpath + component_len; |