Tijs Michels <[EMAIL PROTECTED]> typed:
:Function cmd_getc in command.c contains this code (2.7.3):
:    if (select(num_fds, &readfds, NULL, NULL,
:              (quick_timeout ? &value : NULL)) == 0) {
: /* select statement timed out - we're not hard and fast scrolling */
:        refresh_count = 0;
:        refresh_limit = 1;
:    }
:The code proposed also does away with the 'retval' variable.

There's nothing wrong with doing this.  Maybe that at one stage
retval was used for debugging and wasn't removed.

:Now I probably miss out on some tricky detail, in which case
:I would be happy to hear (perhaps from the person who coded
:the cmd_getc function) why the retval value is not used
:straightaway.

It appeared like that sometime between 1.5 and 2.08

Regards,
-- 
Geoff Wing : <[EMAIL PROTECTED]>
Rxvt Stuff : <[EMAIL PROTECTED]>
Zsh Stuff  : <[EMAIL PROTECTED]>

Reply via email to