xserver: Branch 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Fri Feb 13 14:32:55 PST 2009
hw/xfree86/common/xf86Events.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit ae68be312619ad3bcb2d550a6267d38cce3284f5
Author: Adam Jackson <ajax at redhat.com>
Date: Fri Feb 13 17:25:32 2009 -0500
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.
diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c
index 592d4e3..9ed2884 100644
--- a/hw/xfree86/common/xf86Events.c
+++ b/hw/xfree86/common/xf86Events.c
@@ -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;
}
More information about the xorg-commit
mailing list