+2007-04-26 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Ublock SIGHUP in multithreaded loop, since it's needed for
+ exiting on unmount. Reported by Elena
+
2007-04-18 Miklos Szeredi <miklos@szeredi.hu>
* Use patch from Debian Bug#413403 to fix problems with bash in
err = fuse_start_thread(&mt);
pthread_mutex_unlock(&mt.lock);
if (!err) {
+ sigset_t set;
+
+ /* We need SIGHUP for exiting */
+ sigemptyset(&set);
+ sigaddset(&set, SIGHUP);
+ pthread_sigmask(SIG_UNBLOCK, &set, NULL);
+
while (!fuse_session_exited(se))
pause();