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
3eafc26b
Commit
3eafc26b
authored
9 years ago
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the
result of sendto() instead of the C int type.
parent
dbed5a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Misc/NEWS
Misc/NEWS
+3
-0
Modules/socketmodule.c
Modules/socketmodule.c
+2
-1
No files found.
Misc/NEWS
View file @
3eafc26b
...
...
@@ -24,6 +24,9 @@ Core and Builtins
Library
-------
- Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the
result of sendto() instead of the C int type.
- Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.
- Issue #23838: linecache now clears the cache and returns an empty result on
...
...
This diff is collapsed.
Click to expand it.
Modules/socketmodule.c
View file @
3eafc26b
...
...
@@ -3366,7 +3366,8 @@ sock_sendto(PySocketSockObject *s, PyObject *args)
char
*
buf
;
Py_ssize_t
len
,
arglen
;
sock_addr_t
addrbuf
;
int
addrlen
,
n
=
-
1
,
flags
,
timeout
;
int
addrlen
,
flags
,
timeout
;
Py_ssize_t
n
=
-
1
;
flags
=
0
;
arglen
=
PyTuple_Size
(
args
);
...
...
This diff is collapsed.
Click to expand it.
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