[PATCH libxtrans] Fix potential wrong use of {ISC, SCO}Funcs in Xtrans.c (#23324)
Jesse Adkins
jesserayadkins at gmail.com
Thu Sep 2 22:26:09 PDT 2010
ISCFuncs are no longer created by Xtranslcl.c as of Aug 7 2008
git commit 339ddc413559d4cb117a72f87b2a70dae6911c32.
SCOFuncs is only created if __SCO__ or __UNIXWARE__ are defined.
Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
---
Xtrans.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Xtrans.c b/Xtrans.c
index 7b18f10..204a918 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -109,9 +109,7 @@ Xtransport_table Xtransports[] = {
#ifdef sun
{ &TRANS(PIPEFuncs), TRANS_LOCAL_PIPE_INDEX },
#else /* !sun */
-#if !defined(__SCO__) && !defined(__UNIXWARE__)
- { &TRANS(ISCFuncs), TRANS_LOCAL_ISC_INDEX },
-#endif
+#if defined(__SCO__) || defined(__UNIXWARE__)
{ &TRANS(SCOFuncs), TRANS_LOCAL_SCO_INDEX },
#endif /* sun */
#endif /* LOCALCONN */
--
1.7.0.4
More information about the xorg-devel
mailing list