Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!sdcc6!loral!hall From: hall@loral.UUCP (Steve Hall) Newsgroups: comp.windows.x Subject: XrInput() bug in Xray toolbox Keywords: Xray, HP Message-ID: <1767@loral.UUCP> Date: 26 May 88 23:15:32 GMT Organization: Loral Instrumentation, San Diego Lines: 15 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