aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_dir_rewind.c
AgeCommit message (Collapse)AuthorLines
2023-11-20src|tests: Address warning -Wstrict-prototypesSebastian Pipping-2/+2
Symptom with Clang 15: > In file included from userinfo.c:20: > ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > void invalidate_user_cache(); /* safe to call from signal handler */ > ^ > void > [many more]
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.