[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH:xauth 1/2] Remove unused TLI ("STREAMSCONN") code from xauth
From:       Alan Coopersmith <alan.coopersmith () oracle ! com>
Date:       2012-12-27 7:12:42
Message-ID: 1356592363-26242-1-git-send-email-alan.coopersmith () oracle ! com
[Download RAW message or body]

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@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

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic