[PATCH:xauth 1/2] Remove unused TLI ("STREAMSCONN") code from xauth

Alan Coopersmith alan.coopersmith at oracle.com
Wed Dec 26 23:12:42 PST 2012


Has never been converted to build in modular builds, so has been unusable
since X11R7.0 release in 2005.  All known platforms with TLI/XTI support
that X11R7 & later releases run on also have (and mostly prefer) BSD
socket support for their networking API.

And as the comment notes, it never worked right in xauth anyway.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 gethost.c |    8 --------
 1 file changed, 8 deletions(-)

diff --git a/gethost.c b/gethost.c
index 375f584..6b9ffcc 100644
--- a/gethost.c
+++ b/gethost.c
@@ -29,12 +29,6 @@ in this Software without prior written authorization from The Open Group.
 #include "config.h"
 #endif
 
-/* sorry, streams support does not really work yet */
-#if defined(STREAMSCONN) && defined(SVR4)
-#undef STREAMSCONN
-#define TCPCONN
-#endif
-
 #ifdef WIN32
 #include <X11/Xwinsock.h>
 #define EPROTOTYPE WSAEPROTOTYPE
@@ -48,7 +42,6 @@ in this Software without prior written authorization from The Open Group.
 #define __TYPES__
 #endif
 #ifndef WIN32
-#ifndef STREAMSCONN
 #ifndef Lynx
 #include <sys/socket.h>
 #else
@@ -60,7 +53,6 @@ in this Software without prior written authorization from The Open Group.
 #ifdef HAVE_NET_ERRNO_H
 #include <net/errno.h>
 #endif /* HAVE_NET_ERRNO_H */
-#endif /* !STREAMSCONN */
 #endif /* !WIN32 */
 #include <errno.h>
 #include "xauth.h"
-- 
1.7.9.2



More information about the xorg-devel mailing list