Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
4ab02b27
Commit
4ab02b27
authored
Oct 12, 2016
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undef Lynx
parent
89cea600
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
21 deletions
+5
-21
Xtrans.h
nx-X11/lib/xtrans/Xtrans.h
+0
-8
Xtransint.h
nx-X11/lib/xtrans/Xtransint.h
+0
-4
Xtranslcl.c
nx-X11/lib/xtrans/Xtranslcl.c
+3
-3
Xtranssock.c
nx-X11/lib/xtrans/Xtranssock.c
+2
-6
No files found.
nx-X11/lib/xtrans/Xtrans.h
View file @
4ab02b27
...
...
@@ -56,11 +56,7 @@ from The Open Group.
#include <nx-X11/Xos.h>
#ifndef WIN32
#ifndef Lynx
#include <sys/socket.h>
#else
#include <socket.h>
#endif
#endif
...
...
@@ -210,11 +206,7 @@ struct iovec {
};
#else
#ifndef Lynx
#include <sys/uio.h>
#else
#include <uio.h>
#endif
#endif
typedef
struct
_XtransConnInfo
*
XtransConnInfo
;
...
...
nx-X11/lib/xtrans/Xtransint.h
View file @
4ab02b27
...
...
@@ -87,11 +87,7 @@ from The Open Group.
#include <errno.h>
#ifndef WIN32
# ifndef Lynx
# include <sys/socket.h>
# else
# include <socket.h>
# endif
# include <netinet/in.h>
# include <arpa/inet.h>
...
...
nx-X11/lib/xtrans/Xtranslcl.c
View file @
4ab02b27
...
...
@@ -155,7 +155,7 @@ TRANS(FillAddrInfo)(XtransConnInfo ciptr, char *sun_path, char *peer_sun_path)
return
0
;
}
strcpy
(
sunaddr
->
sun_path
,
sun_path
);
#if defined(BSD44SOCKETS)
&& !defined(Lynx)
#if defined(BSD44SOCKETS)
sunaddr
->
sun_len
=
strlen
(
sunaddr
->
sun_path
);
#endif
...
...
@@ -182,7 +182,7 @@ TRANS(FillAddrInfo)(XtransConnInfo ciptr, char *sun_path, char *peer_sun_path)
return
0
;
}
strcpy
(
p_sunaddr
->
sun_path
,
peer_sun_path
);
#if defined(BSD44SOCKETS)
&& !defined(Lynx)
#if defined(BSD44SOCKETS)
p_sunaddr
->
sun_len
=
strlen
(
p_sunaddr
->
sun_path
);
#endif
...
...
@@ -616,7 +616,7 @@ TRANS(PTSAccept)(XtransConnInfo ciptr, XtransConnInfo newciptr, int *status)
sunaddr
->
sun_family
=
AF_UNIX
;
strcpy
(
sunaddr
->
sun_path
,
buf
);
#if defined(BSD44SOCKETS)
&& !defined(Lynx)
#if defined(BSD44SOCKETS)
sunaddr
->
sun_len
=
strlen
(
sunaddr
->
sun_path
);
#endif
...
...
nx-X11/lib/xtrans/Xtranssock.c
View file @
4ab02b27
...
...
@@ -108,11 +108,7 @@ from the copyright holders.
#ifdef UNIXCONN
#ifndef X_NO_SYS_UN
#ifndef Lynx
#include <sys/un.h>
#else
#include <un.h>
#endif
#endif
#include <sys/stat.h>
#endif
...
...
@@ -1720,7 +1716,7 @@ TRANS(SocketUNIXCreateListener) (XtransConnInfo ciptr, char *port,
#endif
}
#if (defined(BSD44SOCKETS) || defined(__UNIXWARE__))
&& !defined(Lynx)
#if (defined(BSD44SOCKETS) || defined(__UNIXWARE__))
sockname
.
sun_len
=
strlen
(
sockname
.
sun_path
);
namelen
=
SUN_LEN
(
&
sockname
);
#else
...
...
@@ -2632,7 +2628,7 @@ TRANS(SocketUNIXConnect) (XtransConnInfo ciptr, char *host, char *port)
return
TRANS_CONNECT_FAILED
;
}
#if (defined(BSD44SOCKETS) || defined(__UNIXWARE__))
&& !defined(Lynx)
#if (defined(BSD44SOCKETS) || defined(__UNIXWARE__))
sockname
.
sun_len
=
strlen
(
sockname
.
sun_path
);
namelen
=
SUN_LEN
(
&
sockname
);
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment