diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2016-10-15 01:44:45 +0100 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2016-10-15 01:44:45 +0100 |
commit | 9b37e64eb3e625535a1a20f315d7932f2e74b399 (patch) | |
tree | ec9792c2b77478442b18a969043c9967f1be90c8 /src/debug.c | |
parent | 3285e0aee6ea92da2eef119cb66c54cf74c255dc (diff) | |
download | bindfs-9b37e64eb3e625535a1a20f315d7932f2e74b399.tar.gz |
Fix #41 (seeking in directory).
Since version 1.31.1, bindfs has implemented readdir by always
reading the entire directory and passing 0 offset to filler,
but this does not work if the same directory pointer is rewound
and reused.
We remove the opendir and closedir implementations (which FUSE permits)
and now always opendir() and closedir() in readdir. Alternatively we
could have added a rewinddir() to our readdir.
Diffstat (limited to 'src/debug.c')
0 files changed, 0 insertions, 0 deletions