diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2012-07-15 12:02:22 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2012-07-15 12:02:22 +0300 |
commit | fc2b0700db2ed37ca1f5cbd519e6211f62ed121d (patch) | |
tree | 0de078d861ea3b565a4fd4f0f7b55280d868e61b | |
parent | 1f80bea6ae0937cb91c0fc90b2196bf921552b99 (diff) | |
download | bindfs-fc2b0700db2ed37ca1f5cbd519e6211f62ed121d.tar.gz |
process_path in readdir
-rw-r--r-- | src/bindfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindfs.c b/src/bindfs.c index 401a0ae..34067eb 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -410,6 +410,8 @@ static int bindfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler, int result = 0; long pc_ret; + path = process_path(path); + pc_ret = pathconf(path, _PC_NAME_MAX); if (pc_ret < 0) { DPRINTF("pathconf failed: %s (%d)", strerror(errno), errno); |