summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-09-01 19:26:36 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-09-01 19:26:36 (GMT)
commit9acdd3aed84949286995f8e3df26b41ec8065228 (patch)
tree476e8e50440b8f253e5fab3f302fbdd1fdf899a0 /Modules/posixmodule.c
parent8d691c842289cf4453f282637765f07113a7cc17 (diff)
downloadcpython-9acdd3aed84949286995f8e3df26b41ec8065228.zip
cpython-9acdd3aed84949286995f8e3df26b41ec8065228.tar.gz
cpython-9acdd3aed84949286995f8e3df26b41ec8065228.tar.bz2
Repaired damaged comments, and extra spaces in fatal error msgs we'd better
not ever see!
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 42bde97..d921eee 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2726,13 +2726,13 @@ static int _PyPclose(FILE *file)
* an exception. Just die.
*/
Py_FatalError("unable to allocate interpreter state "
- " when closing popen object.");
+ "when closing popen object.");
return -1; /* unreachable */
}
pThreadState = PyThreadState_New(pInterpreterState);
if (!pThreadState) {
Py_FatalError("unable to allocate thread state "
- " when closing popen object.");
+ "when closing popen object.");
return -1; /* unreachable */
}
/* Grab the global lock. Note that this will deadlock if the
@@ -2802,9 +2802,9 @@ static int _PyPclose(FILE *file)
#ifdef WITH_THREAD
/* Tear down the thread & interpreter states.
* Note that interpreter state clear & delete functions automatically
- * call the thread & clear functions, and * indeed insist on doing
- * that themselves. The lock must be held during the clear, but need
- * not be held during the delete.
+ * call the thread clear & delete functions, and indeed insist on
+ * doing that themselves. The lock must be held during the clear, but
+ * need not be held during the delete.
*/
PyInterpreterState_Clear(pInterpreterState);
PyEval_ReleaseThread(pThreadState);
@@ -2813,7 +2813,8 @@ static int _PyPclose(FILE *file)
return result;
}
-#else
+
+#else /* which OS? */
static PyObject *
posix_popen(PyObject *self, PyObject *args)
{