diff options
author | daryl.mcdaniel <daryl.mcdaniel@intel.com> | 2014-09-09 22:37:02 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-09 22:37:02 +0000 |
commit | c9f4d4838ce92a6c2fb4faf5f46faa3b057b4dee (patch) | |
tree | 2b78d7e20aef20d1e44bfdd1fbfe2fb814e9da1c /AppPkg/Applications/Python/Python-2.7.2 | |
parent | c21e7a7832f76260a27c5bde30f9593355909279 (diff) | |
download | edk2-platforms-c9f4d4838ce92a6c2fb4faf5f46faa3b057b4dee.tar.xz |
AppPkg: Add the Arithchk utility and clean up some build problems.
AppPkg\
AppPkg.dsc
Update copyright date
Add Component ArithChk.inf
Applications\
Main\
Main.inf
Remove DevShell dependency
Python\
Python-2.7.2\Modules\
socketmodule.c
Initialize addro, in sock_sendto(), before use.
ArithChk\
ArithChk.inf
arithchk.c
NEW
This is a direct port of the arithchk program which is included as part of the NetBSD gdtoa library.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: daryl.mcdaniel@intel.com
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16082 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'AppPkg/Applications/Python/Python-2.7.2')
-rw-r--r-- | AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.c b/AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.c index 652f45f5b8..36682beb1c 100644 --- a/AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.c +++ b/AppPkg/Applications/Python/Python-2.7.2/Modules/socketmodule.c @@ -1369,9 +1369,9 @@ getsockaddrarg(PySocketSockObject *s, PyObject *args, {
struct sockaddr_hci *addr = (struct sockaddr_hci *)addr_ret;
#if defined(__NetBSD__) || defined(__DragonFly__)
- char *straddr = PyBytes_AS_STRING(args);
+ char *straddr = PyBytes_AS_STRING(args);
- _BT_HCI_MEMB(addr, family) = AF_BLUETOOTH;
+ _BT_HCI_MEMB(addr, family) = AF_BLUETOOTH;
if (straddr == NULL) {
PyErr_SetString(socket_error, "getsockaddrarg: "
"wrong format");
@@ -2824,7 +2824,7 @@ static PyObject * sock_sendto(PySocketSockObject *s, PyObject *args)
{
Py_buffer pbuf;
- PyObject *addro = NULL;
+ PyObject *addro;
char *buf;
Py_ssize_t len;
sock_addr_t addrbuf;
|