1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-06-29 15:51:04 -05:00

dll: fuse: Cygwin signal handling support

This commit is contained in:
Bill Zissimopoulos
2016-06-14 21:36:08 -07:00
parent e227ae5751
commit 958f694b6f
4 changed files with 46 additions and 12 deletions
+2 -2
View File
@@ -153,7 +153,7 @@ FSP_FUSE_API int fsp_fuse_main_real(struct fsp_fuse_env *env,
if (-1 == result)
goto exit;
result = env->set_signal_handlers(f/* !!!: REVISIT */);
result = env->set_signal_handlers(f);
if (-1 == result)
goto exit;
signal_handlers = 1;
@@ -162,7 +162,7 @@ FSP_FUSE_API int fsp_fuse_main_real(struct fsp_fuse_env *env,
exit:
if (signal_handlers)
env->remove_signal_handlers(f/* !!!: REVISIT */);
env->set_signal_handlers(0);
if (0 != f)
fsp_fuse_destroy(env, f);