aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_dir_rewind.c
AgeCommit message (Collapse)AuthorLines
2016-10-29Only compile test_dir_rewind.c on amd64.Martin Pärtel-4/+6
This should fix the build on e.g. ARM.
2016-10-15Fix #41 (seeking in directory).Martin Pärtel-0/+80
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.