Mercurial > vim
comparison src/ui.c @ 38:c524f99c7925 v7.0022
updated for version 7.0022
author | vimboss |
---|---|
date | Sun, 12 Dec 2004 11:37:09 +0000 |
parents | 125e80798a85 |
children | 410fa1a31baf |
comparison
equal
deleted
inserted
replaced
37:fdf55076c53f | 38:c524f99c7925 |
---|---|
175 #ifndef NO_CONSOLE | 175 #ifndef NO_CONSOLE |
176 # ifdef FEAT_GUI | 176 # ifdef FEAT_GUI |
177 else | 177 else |
178 # endif | 178 # endif |
179 { | 179 { |
180 if (wtime == -1) | 180 if (wtime == -1 || wtime > 100L) |
181 handle_sighup(SIGHUP_UNBLOCK); /* allow SIGHUP to kill us */ | 181 (void)handle_signal(SIGNAL_UNBLOCK); /* allow signals to kill us */ |
182 retval = mch_inchar(buf, maxlen, wtime, tb_change_cnt); | 182 retval = mch_inchar(buf, maxlen, wtime, tb_change_cnt); |
183 if (wtime == -1) | 183 if (wtime == -1 || wtime > 100L) |
184 handle_sighup(SIGHUP_BLOCK); /* block SIGHUP */ | 184 (void)handle_signal(SIGNAL_BLOCK); /* block SIGHUP et al. */ |
185 } | 185 } |
186 #endif | 186 #endif |
187 | 187 |
188 ctrl_c_interrupts = TRUE; | 188 ctrl_c_interrupts = TRUE; |
189 | 189 |