summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2014-06-01 20:46:36 (GMT)
committerGregory P. Smith <greg@krypto.org>2014-06-01 20:46:36 (GMT)
commita26987a0a56d0eab5bab0e5d805d85aa7901a92c (patch)
tree45f1a92f93de5ec8ca4014a6e7f27a720f896ffd
parentd4dcb70287c7716b8d75014512070a0ad5c7740f (diff)
downloadcpython-a26987a0a56d0eab5bab0e5d805d85aa7901a92c.zip
cpython-a26987a0a56d0eab5bab0e5d805d85aa7901a92c.tar.gz
cpython-a26987a0a56d0eab5bab0e5d805d85aa7901a92c.tar.bz2
Fix the comment to not refer to the removed end_fd parameter.
-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