common/path.c: normalize function (old fmt_path) using strbuf.
This commit is contained in:
parent
ccdad9c6aa
commit
25d789c77b
9 changed files with 30 additions and 43 deletions
|
|
@ -53,7 +53,7 @@ static int addwatch(const char *path, const char *name) {
|
|||
char *cpath;
|
||||
int wd;
|
||||
|
||||
cpath = fmt_path(path, name, 1);
|
||||
cpath = path_normalize(path, name, 1);
|
||||
|
||||
if (cpath == NULL)
|
||||
return -1;
|
||||
|
|
|
|||
Reference in a new issue