Kaydet (Commit) bf043491 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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.
........
üst 764b8780
......@@ -13,6 +13,7 @@ David Abrahams
Jim Ahlstrom
Farhan Ahmad
Nir Aides
Yaniv Aknin
Jyrki Alakuijala
Billy G. Allie
Kevin Altis
......
......@@ -339,6 +339,9 @@ C-API
Library
-------
- Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
of the Linux kernel. Patch by Yaniv Aknin.
- Issue #8295: Added shutil.unpack_archive.
- Issue #6312: Fixed http HEAD request when the transfer encoding is chunked.
......
......@@ -1290,6 +1290,7 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args,
char *straddr;
addr = (struct sockaddr_l2 *)addr_ret;
memset(addr, 0, sizeof(struct sockaddr_l2));
_BT_L2_MEMB(addr, family) = AF_BLUETOOTH;
if (!PyArg_ParseTuple(args, "si", &straddr,
&_BT_L2_MEMB(addr, psm))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment