Module Name:    src
Committed By:   pho
Date:           Sun Jan 26 02:06:39 UTC 2025

Modified Files:
        src/lib/librefuse: fuse.h

Log Message:
lib/librefuse: Fix an issue in the header <fuse.h>

It failed to expose "struct fuse_operations" when the FUSE 3.4 API was
requested. Any other API versions worked fine.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/librefuse/fuse.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librefuse/fuse.h
diff -u src/lib/librefuse/fuse.h:1.35 src/lib/librefuse/fuse.h:1.36
--- src/lib/librefuse/fuse.h:1.35	Fri Apr 21 19:29:31 2023
+++ src/lib/librefuse/fuse.h	Sun Jan 26 02:06:39 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: fuse.h,v 1.35 2023/04/21 19:29:31 abs Exp $ */
+/* $NetBSD: fuse.h,v 1.36 2025/01/26 02:06:39 pho Exp $ */
 
 /*
  * Copyright © 2007 Alistair Crooks.  All rights reserved.
@@ -641,6 +641,7 @@ fuse_new(struct fuse_args *args, const s
 		/* Types */
 #		define _FUSE_OP_VERSION__	34
 #		define fuse_fill_dir_t		fuse_fill_dir_t_v30
+#		define fuse_operations		_MK_FUSE_OPERATIONS_(_FUSE_OP_VERSION__)
 		/* Functions */
 static __inline struct fuse_fs *
 fuse_fs_new(const struct fuse_operations *op,

Reply via email to