Input: Don't re-block SIGIO in xf86SigioReadInput()
It's already blocked on the way in, because we asked for it to be blocked at sigaction() time.
This commit is contained in:
parent
c18f454e4a
commit
ae68be3126
|
@ -304,16 +304,13 @@ xf86Wakeup(pointer blockData, int err, pointer pReadmask)
|
|||
* signal handler for the SIGIO signal.
|
||||
*/
|
||||
static void
|
||||
xf86SigioReadInput(int fd,
|
||||
void *closure)
|
||||
xf86SigioReadInput(int fd, void *closure)
|
||||
{
|
||||
int errno_save = errno;
|
||||
int sigstate = xf86BlockSIGIO();
|
||||
InputInfoPtr pInfo = (InputInfoPtr) closure;
|
||||
InputInfoPtr pInfo = closure;
|
||||
|
||||
pInfo->read_input(pInfo);
|
||||
|
||||
xf86UnblockSIGIO(sigstate);
|
||||
errno = errno_save;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user