#3507: Mutt ignores SIGWINCH when built with --enable-imap
--------------------+-------------------------------------------------------
 Reporter:  vinc17  |       Owner:  mutt-dev
     Type:  defect  |      Status:  new     
 Priority:  minor   |   Milestone:          
Component:  mutt    |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by vinc17):

 I suppose the bug was there previously, but wasn't visible with the
 default time values. And 6166:047bd501d6db changed one of the default
 values...

 If I understand correctly, the default Timeout value is 600.
 6166:047bd501d6db lowered ImapKeepalive from 900 to 300. In keymap.c, the
 test ImapKeepalive >= i becomes false, hence the problem, IMHO. So, I'd
 say that the bug is here in keymap.c:
 {{{
         while (ImapKeepalive && ImapKeepalive < i)
         {
           timeout (ImapKeepalive * 1000);
           tmp = mutt_getch ();
           timeout (-1);
           if (tmp.ch != -2)
             /* something other than timeout */
             goto gotkey;
           i -= ImapKeepalive;
           imap_keepalive ();
         }
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3507#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to