From b3d8525525c19641249096c8996d7b1c12e3dd49 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 2 Jul 1996 21:03:25 +0000 Subject: [PATCH] Use POLLNORM in preference to POLLIN since the former is supported more widely. --- v7/src/microcode/uxio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/v7/src/microcode/uxio.c b/v7/src/microcode/uxio.c index 71e771faa..46503135c 100644 --- a/v7/src/microcode/uxio.c +++ b/v7/src/microcode/uxio.c @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: uxio.c,v 1.37 1996/07/01 23:28:17 cph Exp $ +$Id: uxio.c,v 1.38 1996/07/02 21:03:25 cph Exp $ -Copyright (c) 1990-94 Massachusetts Institute of Technology +Copyright (c) 1990-96 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -443,7 +443,7 @@ DEFUN (UX_select_registry_set, (fds, fd), PTR fds AND unsigned int fd) if ((((pfds [i]) . fd) == (-1)) || (((pfds [i]) . fd) == fd)) { ((pfds [i]) . fd) = fd; - ((pfds [i]) . events) = POLLIN; + ((pfds [i]) . events) = POLLNORM; break; } #else @@ -505,7 +505,7 @@ DEFUN (UX_select_registry_test, (input_fds, blockp, output_fds, output_nfds), unsigned int i; for (i = 0; (i < OS_channel_table_size); i += 1) if ((((pfds [i]) . fd) != (-1)) - && ((((pfds [i]) . revents) & POLLIN) != 0)) + && ((((pfds [i]) . revents) & POLLNORM) != 0)) { (*output_fds++) = ((pfds [i]) . fd); if ((--nfds) == 0) @@ -592,7 +592,7 @@ DEFUN (UX_select_descriptor, (fd, blockp), int nfds; ((pfds [0]) . fd) = fd; - ((pfds [0]) . events) = POLLIN; + ((pfds [0]) . events) = POLLNORM; while (1) { nfds = (poll (pfds, 1, (blockp ? INFTIM : 0))); -- 2.25.1