summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2014-06-01 20:47:34 (GMT)
committerGregory P. Smith <greg@krypto.org>2014-06-01 20:47:34 (GMT)
commit45f31d14920dd86183f2358389640559b1f79263 (patch)
tree95a76823394b2fb83b9493bedfe75d8a0d8cea9b /Modules
parent3fe9e8d5a5ff730b3497fc4e5361bf15ccac14bb (diff)
parentffd529cde138cb6ee211490dff13c6f6ee91e177 (diff)
downloadcpython-45f31d14920dd86183f2358389640559b1f79263.zip
cpython-45f31d14920dd86183f2358389640559b1f79263.tar.gz
cpython-45f31d14920dd86183f2358389640559b1f79263.tar.bz2
merge the end_fd comment fix and explicit wait() for the child.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_posixsubprocess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c
index 8f5ce04..f84cd26 100644
--- a/Modules/_posixsubprocess.c
+++ b/Modules/_posixsubprocess.c
@@ -234,8 +234,8 @@ struct linux_dirent64 {
char d_name[256]; /* Filename (null-terminated) */
};
-/* Close all open file descriptors in the range start_fd inclusive to end_fd
- * exclusive. Do not close any in the sorted py_fds_to_keep list.
+/* Close all open file descriptors in the range from start_fd and higher
+ * Do not close any in the sorted py_fds_to_keep list.
*
* This version is async signal safe as it does not make any unsafe C library
* calls, malloc calls or handle any locks. It is _unfortunate_ to be forced