agendafs
A filesystem for your calendar.
git clone git://mccd.space/agendafscommit 0ed2764897522fe8237142f3e0ad70cff5e6b467
parent 8b27680755da787a54d7c1d442802a2c0a6883fb
Author: Marc Coquand <marc@coquand.email>
Date: Sun, 25 Jan 2026 18:02:35 +0100
fix: Subdirectory files should not be directories
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -125,7 +125,7 @@ fuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset,
icalcomponent *ic = get_icalcomponent_from_node(ar, child);
assert(ic);
- struct stat st = get_node_stat(ar, node, ic);
+ struct stat st = get_node_stat(ar, child, ic);
if (filler(buf, get_node_filename(child), &st, 0, 0) != 0) {
status = -ENOMEM;