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
dbd8339a
Commit
dbd8339a
authored
Feb 20, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #854823: socketmodule now builds on Sun platforms even when
INET_ADDRSTRLEN is not defined.
parent
8f7c54ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Misc/NEWS
Misc/NEWS
+3
-0
Modules/socketmodule.c
Modules/socketmodule.c
+2
-2
No files found.
Misc/NEWS
View file @
dbd8339a
...
...
@@ -224,6 +224,9 @@ Core and builtins
Extension
Modules
-----------------
-
Bug
#
854823
:
socketmodule
now
builds
on
Sun
platforms
even
when
INET_ADDRSTRLEN
is
not
defined
.
-
Patch
#
1393157
:
os
.
startfile
()
now
has
an
optional
argument
to
specify
a
"command verb"
to
invoke
on
the
file
.
...
...
Modules/socketmodule.c
View file @
dbd8339a
...
...
@@ -215,8 +215,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\
/* Irix 6.5 fails to define this variable at all. This is needed
for both GCC and SGI's compiler. I'd say that the SGI headers
are just busted. */
#if
defined(__sgi
) && !defined(INET_ADDRSTRLEN)
are just busted.
Same thing for Solaris.
*/
#if
(defined(__sgi) || defined(sun)
) && !defined(INET_ADDRSTRLEN)
#define INET_ADDRSTRLEN 16
#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