[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libfuse/src main.c
From: |
Stefan Siegl |
Subject: |
libfuse/src main.c |
Date: |
Thu, 03 Aug 2006 22:50:38 +0000 |
CVSROOT: /sources/hurdextras
Module name: libfuse
Changes by: Stefan Siegl <stesie> 06/08/03 22:50:38
Modified files:
src : main.c
Log message:
added fuse_exit and fuse_exited stubs, actually we don't support them,
therefore EIEIO out in case they're called
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libfuse/src/main.c?cvsroot=hurdextras&r1=1.4&r2=1.5
Patches:
Index: main.c
===================================================================
RCS file: /sources/hurdextras/libfuse/src/main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- main.c 1 Aug 2006 18:14:52 -0000 1.4
+++ main.c 3 Aug 2006 22:50:38 -0000 1.5
@@ -507,3 +507,25 @@
return fuse_loop_mt_proc(f, (fuse_processor_t) fuse_process_cmd, NULL);
}
+
+
+void
+fuse_exit(struct fuse *f)
+{
+ /*
+ * well, we should make fuse_main exit, this is, we would have to
+ * cancel ports_manage_port_operations_one_thread. however this is
+ * not possible, therefore buy the farm for the moment.
+ */
+ error(1, EIEIO, "fuse_exit called");
+}
+
+
+int
+fuse_exited(struct fuse *f)
+{
+ /*
+ * if fuse_exit is called, we buy the farm, therefore we still must be alive.
+ */
+ return 0;
+}