mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-03 18:06:23 +00:00
Fixup: wrong quoting function used in updates to enum_ufs, enum_ufs_prop
This commit is contained in:
@@ -1166,7 +1166,7 @@ static int enum_ufs_prop(char *dir, char *name, char *ver, FINFO **finfo_buf)
|
||||
} else {
|
||||
/* All other types than directory. */
|
||||
nextp->dirp = 0;
|
||||
quote_fname(nextp->lname, sizeof(nextp->lname));
|
||||
quote_fname_ufs(nextp->lname, sizeof(nextp->lname));
|
||||
}
|
||||
nextp->lname_len = strlen(nextp->lname);
|
||||
|
||||
@@ -1238,7 +1238,7 @@ static int enum_ufs_prop(char *dir, char *name, char *ver, FINFO **finfo_buf)
|
||||
strlcat(nextp->lname, LISPDIRSTR, sizeof(nextp->lname));
|
||||
} else {
|
||||
nextp->dirp = 0;
|
||||
quote_fname(nextp->lname, sizeof(nextp->lname));
|
||||
quote_fname_ufs(nextp->lname, sizeof(nextp->lname));
|
||||
}
|
||||
nextp->lname_len = strlen(nextp->lname);
|
||||
|
||||
@@ -1401,7 +1401,7 @@ static int enum_ufs(char *dir, char *name, char *ver, FINFO **finfo_buf)
|
||||
strlcat(nextp->lname, LISPDIRSTR, sizeof(nextp->lname));
|
||||
} else {
|
||||
nextp->dirp = 0;
|
||||
quote_fname(nextp->lname, sizeof(nextp->lname));
|
||||
quote_fname_ufs(nextp->lname, sizeof(nextp->lname));
|
||||
}
|
||||
nextp->lname_len = strlen(nextp->lname);
|
||||
nextp->ino = sbuf.st_ino;
|
||||
|
||||
Reference in New Issue
Block a user