Skip to content

Commit e745381

Browse files
committed
Fixup: wrong quoting function used in updates to enum_ufs, enum_ufs_prop
1 parent 5190a39 commit e745381

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dir.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ static int enum_ufs_prop(char *dir, char *name, char *ver, FINFO **finfo_buf)
11661166
} else {
11671167
/* All other types than directory. */
11681168
nextp->dirp = 0;
1169-
quote_fname(nextp->lname, sizeof(nextp->lname));
1169+
quote_fname_ufs(nextp->lname, sizeof(nextp->lname));
11701170
}
11711171
nextp->lname_len = strlen(nextp->lname);
11721172

@@ -1238,7 +1238,7 @@ static int enum_ufs_prop(char *dir, char *name, char *ver, FINFO **finfo_buf)
12381238
strlcat(nextp->lname, LISPDIRSTR, sizeof(nextp->lname));
12391239
} else {
12401240
nextp->dirp = 0;
1241-
quote_fname(nextp->lname, sizeof(nextp->lname));
1241+
quote_fname_ufs(nextp->lname, sizeof(nextp->lname));
12421242
}
12431243
nextp->lname_len = strlen(nextp->lname);
12441244

@@ -1401,7 +1401,7 @@ static int enum_ufs(char *dir, char *name, char *ver, FINFO **finfo_buf)
14011401
strlcat(nextp->lname, LISPDIRSTR, sizeof(nextp->lname));
14021402
} else {
14031403
nextp->dirp = 0;
1404-
quote_fname(nextp->lname, sizeof(nextp->lname));
1404+
quote_fname_ufs(nextp->lname, sizeof(nextp->lname));
14051405
}
14061406
nextp->lname_len = strlen(nextp->lname);
14071407
nextp->ino = sbuf.st_ino;

0 commit comments

Comments
 (0)