[comp.windows.x] XrInput

hall@loral.UUCP (Steve Hall) (05/27/88)

I came across a bug in HP's Xray toolbox that should be recognized
and fixed for the next release.

The problem occurs when the XrInput routine is blocking for input on
a select and interrupted. After the signal has been serviced, the
condition (erno == EINTR) is checked and the select is restarted.
Unfortunately, the masks (particularly the readMask) has been stepped
on (cleared), so no descriptors will be read-enabled and the select
will never return. The masks should be restored before the select is
restarted. Just a silly-but-potent little bug!

Please pass this along to HP!

	Thanks,
	Steve Hall