diff options
Diffstat (limited to 'gnu/games/chess/Xchess/program.c')
-rw-r--r-- | gnu/games/chess/Xchess/program.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/games/chess/Xchess/program.c b/gnu/games/chess/Xchess/program.c index 876f29c..59df70c 100644 --- a/gnu/games/chess/Xchess/program.c +++ b/gnu/games/chess/Xchess/program.c @@ -20,8 +20,8 @@ file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. */ -/* RCS Info: $Revision: 1.2 $ on $Date: 86/11/23 17:18:10 $ - * $Source: /users/faustus/xchess/RCS/program.c,v $ +/* RCS Info: $Revision: 1.1.1.1 $ on $Date: 1993/06/12 14:41:13 $ + * $Source: /a/cvs/386BSD/src/gnu/chess/Xchess/program.c,v $ * Copyright (c) 1986 Wayne A. Christopher, U. C. Berkeley CAD Group * Permission is granted to do anything with this code except sell it * or remove this message. @@ -144,8 +144,12 @@ program_get() /* Do a poll... */ +#ifdef __386BSD__ + if (!(i = select(32, &rfd, &wfd, &xfd, ¬ime))) { +#else if (!(i = select(32, &rfd, &wfd, &xfd, ¬ime)) && !from->_cnt) { /* Bad stuff... */ +#endif if (debug) fprintf(stderr, "poll: nothing\n"); return (NULL); |