Revision: 19461
http://sourceforge.net/p/edk2/code/19461
Author: darylm503
Date: 2015-12-23 00:07:43 +0000 (Wed, 23 Dec 2015)
Log Message:
-----------
AppPkg/.../Python-2.7.10: Update file for Python-2.7.10 inclusion.
Add copyright message.
Add some blank lines.
Remove a superfluous call to setup_confname_tables(m) from INITFUNC().
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <[email protected]>
Reviewed-by: Erik Bjorge <[email protected]>
Modified Paths:
--------------
trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/edk2module.c
Modified:
trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/edk2module.c
===================================================================
---
trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/edk2module.c
2015-12-23 00:04:20 UTC (rev 19460)
+++
trunk/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/edk2module.c
2015-12-23 00:07:43 UTC (rev 19461)
@@ -2,6 +2,7 @@
OS-specific module implementation for EDK II and UEFI.
Derived from posixmodule.c in Python 2.7.2.
+ Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>
Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made
available under
the terms and conditions of the BSD License that accompanies this
distribution.
@@ -2248,6 +2249,7 @@
return PyLong_FromPid(getpid());
}
+
#ifdef HAVE_GETLOGIN
PyDoc_STRVAR(edk2_getlogin__doc__,
"getlogin() -> string\n\n\
@@ -2340,7 +2342,6 @@
"popen(command [, mode='r' [, bufsize]]) -> pipe\n\n\
Open a pipe to/from a command returning a file object.");
-/* standard posix version of popen() support */
static PyObject *
edk2_popen(PyObject *self, PyObject *args)
{
@@ -2369,6 +2370,7 @@
#endif /* HAVE_POPEN */
+
#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
static PyObject *
wait_helper(pid_t pid, int status, struct rusage *ru)
@@ -4187,9 +4189,6 @@
if (all_ins(m))
return;
- if (setup_confname_tables(m))
- return;
-
Py_INCREF(PyExc_OSError);
PyModule_AddObject(m, "error", PyExc_OSError);
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits