tst: passthrough-fuse3: multibyte support

This commit is contained in:
zeho11
2022-12-15 19:16:19 +09:00
parent 8c9b8362b4
commit 22d81846df
3 changed files with 93 additions and 29 deletions

View File

@@ -49,7 +49,7 @@
#define fi_setdirp(fi, dirp) (fi_setfh(fi, dirp, fi_dirbit))
#define ptfs_impl_fullpath(n) \
char full ## n[PATH_MAX]; \
char full ## n[PATH_MAX * 4]; \
if (!concat_path(((PTFS *)fuse_get_context()->private_data), n, full ## n))\
return -ENAMETOOLONG; \
n = full ## n