From: helg Date: Mon, 18 Dec 2017 14:20:23 +0000 (+0000) Subject: Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4f1d7555552fe355e07215f8c84347d59cac9f6e;p=openbsd Add call to fuse_remove_signal_handlers(3) in fuse_teardown(3) to do the opposite of fuse_setup(3). ok mpi@ --- diff --git a/lib/libfuse/fuse.c b/lib/libfuse/fuse.c index cd7773b4c42..73426e54351 100644 --- a/lib/libfuse/fuse.c +++ b/lib/libfuse/fuse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse.c,v 1.42 2017/12/18 11:41:41 helg Exp $ */ +/* $OpenBSD: fuse.c,v 1.43 2017/12/18 14:20:23 helg Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon * @@ -611,6 +611,7 @@ fuse_teardown(struct fuse *fuse, char *mp) if (fuse == NULL || mp == NULL) return; + fuse_remove_signal_handlers(fuse_get_session(fuse)); fuse_unmount(mp, fuse->fc); fuse_destroy(fuse); }