Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
34d3e2d2
Commit
34d3e2d2
authored
Jan 02, 2003
by
Andrew MacIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OS/2 sockets do not support AF_UNIX, even though EMX headers define it
parent
214d39a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Modules/socketmodule.c
Modules/socketmodule.c
+4
-4
No files found.
Modules/socketmodule.c
View file @
34d3e2d2
...
...
@@ -763,7 +763,7 @@ makesockaddr(int sockfd, struct sockaddr *addr, int addrlen)
return
ret
;
}
#if
def AF_UNIX
#if
defined(AF_UNIX) && !defined(PYOS_OS2)
case
AF_UNIX
:
{
struct
sockaddr_un
*
a
=
(
struct
sockaddr_un
*
)
addr
;
...
...
@@ -837,7 +837,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
{
switch
(
s
->
sock_family
)
{
#if
def AF_UNIX
#if
defined(AF_UNIX) && !defined(PYOS_OS2)
case
AF_UNIX
:
{
struct
sockaddr_un
*
addr
;
...
...
@@ -960,7 +960,7 @@ getsockaddrlen(PySocketSockObject *s, socklen_t *len_ret)
{
switch
(
s
->
sock_family
)
{
#if
def AF_UNIX
#if
defined(AF_UNIX) && !defined(PYOS_OS2)
case
AF_UNIX
:
{
*
len_ret
=
sizeof
(
struct
sockaddr_un
);
...
...
@@ -3194,7 +3194,7 @@ init_socket(void)
#ifdef AF_INET6
PyModule_AddIntConstant
(
m
,
"AF_INET6"
,
AF_INET6
);
#endif
/* AF_INET6 */
#if
def AF_UNIX
#if
defined(AF_UNIX) && !defined(PYOS_OS2)
PyModule_AddIntConstant
(
m
,
"AF_UNIX"
,
AF_UNIX
);
#endif
/* AF_UNIX */
#ifdef AF_AX25
...
...
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