From 9b37e64eb3e625535a1a20f315d7932f2e74b399 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sat, 15 Oct 2016 01:44:45 +0100 Subject: 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. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index c7ff7e0..76cad8c 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ Makefile src/bindfs tests/fcntl_locker tests/readdir_inode +tests/test_dir_rewind tests/utimens_nofollow tests/*.log tests/*.trs -- cgit v1.2.3