Skip to content

Commit 0e3348e

Browse files
committed
Rewrite block comment to make it more clear an less repetitive
1 parent c832471 commit 0e3348e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/posixmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5356,10 +5356,10 @@ os_posix_spawn_impl(PyObject *module, path_t *path, PyObject *argv,
53565356
if (file_actions != Py_None) {
53575357
/* There is a bug in old versions of glibc that makes some of the
53585358
* helper functions for manipulating file actions not copy the provided
5359-
* buffers. The use of `temp_buffer` here is a workaround that keeps the
5359+
* buffers. The problem is that posix_spawn_file_actions_addopen copies
5360+
* the value of **path** except for some old versions of glibc (<2.20).
5361+
* The use of `temp_buffer` here is a workaround that keeps the
53605362
* python objects that own the buffers alive until posix_spawn gets called.
5361-
* posix_spawn_file_actions_addopen copies the value of **path** except for
5362-
* some old versions of glibc (<2.20).
53635363
* Check https://bugs.python.org/issue33630 and
53645364
* https://sourceware.org/bugzilla/show_bug.cgi?id=17048 for more info.*/
53655365
temp_buffer = PyList_New(0);

0 commit comments

Comments
 (0)