Merged revisions 80610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80610 | antoine.pitrou | 2010-04-29 12:05:40 +0200 (jeu., 29 avril 2010) | 4 lines Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions of the Linux kernel. Patch by Yaniv Aknin. ........
This commit is contained in:
parent
ef9525af01
commit
bb804c74a0
|
@ -13,6 +13,7 @@ PS: In the standard Python distribution, this file is encoded in Latin-1.
|
||||||
David Abrahams
|
David Abrahams
|
||||||
Jim Ahlstrom
|
Jim Ahlstrom
|
||||||
Farhan Ahmad
|
Farhan Ahmad
|
||||||
|
Yaniv Aknin
|
||||||
Jyrki Alakuijala
|
Jyrki Alakuijala
|
||||||
Billy G. Allie
|
Billy G. Allie
|
||||||
Kevin Altis
|
Kevin Altis
|
||||||
|
|
|
@ -33,6 +33,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
|
||||||
|
of the Linux kernel. Patch by Yaniv Aknin.
|
||||||
|
|
||||||
- Issue #6312: Fixed http HEAD request when the transfer encoding is chunked.
|
- Issue #6312: Fixed http HEAD request when the transfer encoding is chunked.
|
||||||
It should correctly return an empty response now.
|
It should correctly return an empty response now.
|
||||||
|
|
||||||
|
|
|
@ -1314,6 +1314,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
|
||||||
char *straddr;
|
char *straddr;
|
||||||
|
|
||||||
addr = (struct sockaddr_l2 *)addr_ret;
|
addr = (struct sockaddr_l2 *)addr_ret;
|
||||||
|
memset(addr, 0, sizeof(struct sockaddr_l2));
|
||||||
_BT_L2_MEMB(addr, family) = AF_BLUETOOTH;
|
_BT_L2_MEMB(addr, family) = AF_BLUETOOTH;
|
||||||
if (!PyArg_ParseTuple(args, "si", &straddr,
|
if (!PyArg_ParseTuple(args, "si", &straddr,
|
||||||
&_BT_L2_MEMB(addr, psm))) {
|
&_BT_L2_MEMB(addr, psm))) {
|
||||||
|
|
Loading…
Reference in New Issue