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  <[EMAIL PROTECTED]>
+
+       * subshell.c (sigchld_handler): Remove subshell_pty from the
+       channel list if the subshell has died.
+
 2002-07-03  Andrew V. Samoilov  <[EMAIL PROTECTED]>
--- 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

_______________________________________________
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel

Reply via email to