Archived
1
0
Fork 0

common/path.c: normalize function (old fmt_path) using strbuf.

This commit is contained in:
H Hautakoski 2010-09-14 12:58:39 +02:00 committed by Henrik Hautakoski
parent ccdad9c6aa
commit 25d789c77b
9 changed files with 30 additions and 43 deletions

View file

@ -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;