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
760ab73d
Commit
760ab73d
authored
Nov 14, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Plain Diff
Merge AIX fixes from 3.5 into 3.6
parents
03628b01
b8ccbafa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/test/test_fileio.py
Lib/test/test_fileio.py
+1
-1
Misc/ACKS
Misc/ACKS
+1
-0
Modules/socketmodule.c
Modules/socketmodule.c
+3
-1
No files found.
Lib/test/test_fileio.py
View file @
760ab73d
...
...
@@ -377,7 +377,7 @@ class OtherFileTests:
self
.
assertEqual
(
f
.
writable
(),
True
)
if
sys
.
platform
!=
"darwin"
and
\
'bsd'
not
in
sys
.
platform
and
\
not
sys
.
platform
.
startswith
(
'sunos'
):
not
sys
.
platform
.
startswith
(
(
'sunos'
,
'aix'
)
):
# Somehow /dev/tty appears seekable on some BSDs
self
.
assertEqual
(
f
.
seekable
(),
False
)
self
.
assertEqual
(
f
.
isatty
(),
True
)
...
...
Misc/ACKS
View file @
760ab73d
...
...
@@ -1308,6 +1308,7 @@ James Rutherford
Chris Ryland
Bernt Røskar Brenna
Constantina S.
Matthieu S
Patrick Sabin
Sébastien Sablé
Amit Saha
...
...
Modules/socketmodule.c
View file @
760ab73d
...
...
@@ -172,12 +172,14 @@ if_indextoname(index) -- return the corresponding interface name\n\
#endif
#ifdef HAVE_GETHOSTBYNAME_R
# if defined(_AIX)
# if defined(_AIX)
&& !defined(_LINUX_SOURCE_COMPAT)
# define HAVE_GETHOSTBYNAME_R_3_ARG
# elif defined(__sun) || defined(__sgi)
# define HAVE_GETHOSTBYNAME_R_5_ARG
# elif defined(__linux__)
/* Rely on the configure script */
# elif defined(_LINUX_SOURCE_COMPAT)
/* Linux compatibility on AIX */
# define HAVE_GETHOSTBYNAME_R_6_ARG
# else
# undef HAVE_GETHOSTBYNAME_R
# endif
...
...
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