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
This commit is contained in:
committed by
darylm503
parent
c21e7a7832
commit
c9f4d4838c
@ -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;
|
||||
|
Reference in New Issue
Block a user