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.
|
* signal handler for the SIGIO signal.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
xf86SigioReadInput(int fd,
|
xf86SigioReadInput(int fd, void *closure)
|
||||||
void *closure)
|
|
||||||
{
|
{
|
||||||
int errno_save = errno;
|
int errno_save = errno;
|
||||||
int sigstate = xf86BlockSIGIO();
|
InputInfoPtr pInfo = closure;
|
||||||
InputInfoPtr pInfo = (InputInfoPtr) closure;
|
|
||||||
|
|
||||||
pInfo->read_input(pInfo);
|
pInfo->read_input(pInfo);
|
||||||
|
|
||||||
xf86UnblockSIGIO(sigstate);
|
|
||||||
errno = errno_save;
|
errno = errno_save;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user