Cross Reference: signal-handler.patch
xref
: /
solaris-x11-s12
/
open-src
/
xserver
/
xorg
/
signal-handler.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1124
N/A
diff --git
a/hw/xfree86/dri/dri.c
b/hw/xfree86/dri/dri.c
1340
N/A
index 398178e..929dc7c 100644
1124
N/A
---
a/hw/xfree86/dri/dri.c
1124
N/A
+++
b/hw/xfree86/dri/dri.c
1340
N/A
@@ -2500,7 +2500,11 @@ drmInstallSIGIOHandler(int fd, void (*f) (int, void *, void *))
1276
N/A
entry = drmGetEntry(fd);
1276
N/A
entry->f = f;
158
N/A
158
N/A
+#if defined(__sun) && defined(__SVR4)
158
N/A
+ return 1;
158
N/A
+#else
158
N/A
return xf86InstallSIGIOHandler(fd, drmSIGIOHandler, 0);
158
N/A
+#endif
158
N/A
}
158
N/A
1276
N/A
int
1340
N/A
@@ -2510,5 +2514,9 @@ drmRemoveSIGIOHandler(int fd)
158
N/A
158
N/A
entry->f = NULL;
158
N/A
158
N/A
+#if defined(__sun) && defined(__SVR4)
158
N/A
+ return 1;
158
N/A
+#else
158
N/A
return xf86RemoveSIGIOHandler(fd);
158
N/A
+#endif
158
N/A
}