Re: bug - tmout hang mc
- From: Pavel Roskin <proski gnu org>
- To: Andrzej Dopierała <undefine atos wmid amu edu pl>
- Cc: mc-devel gnome org, <undefine aramin one pl>
- Subject: Re: bug - tmout hang mc
- Date: Wed, 3 Jul 2002 12:41:21 -0400 (EDT)
Hi, Andrzej!
> when shell is bash, and variable TMOUT is set in ex 300 (after 300sec it
> off) and i run mc, after 300s mc hang. It take 100% cpu power:)
> Could You look at it?
Fixed in CVS:
===========================
--- ChangeLog
+++ ChangeLog
@@ -1 +1,6 @@
+2002-07-03 Pavel Roskin <proski gnu org>
+
+ * subshell.c (sigchld_handler): Remove subshell_pty from the
+ channel list if the subshell has died.
+
2002-07-03 Andrew V. Samoilov <kai cmail ru>
--- subshell.c
+++ subshell.c
@@ -912,6 +912,7 @@ void sigchld_handler (int sig)
# endif
{
subshell_alive = FALSE;
+ delete_select_channel (subshell_pty);
if (WIFEXITED (status) && WEXITSTATUS (status) != FORK_FAILURE)
quit |= SUBSHELL_EXIT; /* Exited normally */
}
===========================
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]