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
aa3ca7e0
Commit
aa3ca7e0
authored
Jun 18, 2013
by
Brett Cannon
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
89df7b4e
262e7f38
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
Misc/NEWS
Misc/NEWS
+2
-0
Modules/_ctypes/libffi/src/powerpc/ffi.c
Modules/_ctypes/libffi/src/powerpc/ffi.c
+3
-1
Modules/socketmodule.c
Modules/socketmodule.c
+5
-0
No files found.
Misc/NEWS
View file @
aa3ca7e0
...
...
@@ -123,6 +123,8 @@ Core and Builtins
Library
-------
-
Issue
#
18259
:
Declare
sethostname
in
socketmodule
.
c
for
AIX
-
Issue
#
18147
:
Add
diagnostic
functions
to
ssl
.
SSLContext
().
get_ca_list
()
lists
all
loaded
CA
certificates
and
cert_store_stats
()
returns
amount
of
loaded
X
.509
certs
,
X
.509
CA
certs
and
CRLs
.
...
...
Modules/_ctypes/libffi/src/powerpc/ffi.c
View file @
aa3ca7e0
...
...
@@ -146,12 +146,14 @@ ffi_prep_args_SYSV (extended_cif *ecif, unsigned *const stack)
}
p_argv
;
size_t
struct_copy_size
;
unsigned
gprvalue
;
#ifndef __NO_FPRS__
double
double_tmp
;
#endif
stacktop
.
c
=
(
char
*
)
stack
+
bytes
;
gpr_base
.
u
=
stacktop
.
u
-
ASM_NEEDS_REGISTERS
-
NUM_GPR_ARG_REGISTERS
;
intarg_count
=
0
;
#ifndef __NO_FPRS__
double
double_tmp
;
fpr_base
.
d
=
gpr_base
.
d
-
NUM_FPR_ARG_REGISTERS
;
fparg_count
=
0
;
copy_space
.
c
=
((
flags
&
FLAG_FP_ARGUMENTS
)
?
fpr_base
.
c
:
gpr_base
.
c
);
...
...
Modules/socketmodule.c
View file @
aa3ca7e0
...
...
@@ -4066,6 +4066,11 @@ socket_sethostname(PyObject *self, PyObject *args)
Py_buffer
buf
;
int
res
,
flag
=
0
;
#ifdef _AIX
/* issue #18259, not declared in any useful header file */
extern
int
sethostname
(
const
char
*
,
size_t
);
#endif
if
(
!
PyArg_ParseTuple
(
args
,
"S:sethostname"
,
&
hnobj
))
{
PyErr_Clear
();
if
(
!
PyArg_ParseTuple
(
args
,
"O&:sethostname"
,
...
...
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