| # | Line 155 | Line 155 | disp_wait() /* wait for more input */ | |
|---|---|---|
| 155 | int n; | |
| 156 | register int i; | |
| 157 | /* see if we can avoid select call */ | |
| 158 | + | if (hdlist[0] == NULL) |
| 159 | + | return(RDY_SRV); /* initialize first */ |
| 160 | flgs = 0; /* flag what's ready already */ | |
| 161 | if (imm_mode || stdin->_cnt > 0) | |
| 162 | flgs |= RDY_SRV; | |
| # | Line 269 | Line 271 | register VIEW *v; | |
| 271 | static VIEW viewhist[VIEWHISTLEN]; | |
| 272 | static unsigned nhist; | |
| 273 | VIEW *dv; | |
| 274 | < | int i, res[2], *slist; |
| 274 | > | int i, res[2]; |
| 275 | > | int2 *slist; |
| 276 | char *err; | |
| 277 | /* restore previous view? */ | |
| 278 | if (v == NULL) { | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |