diff options
author | Kyle Evans <kevans91@users.noreply.github.com> | 2020-10-13 20:04:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 20:04:44 (GMT) |
commit | 7992579cd27f14f472acc37aca537eec55f681ef (patch) | |
tree | 5d738707fbf658dcbd2ddc6aaf0cf107b92bec45 /Modules/_posixsubprocess.c | |
parent | 8b2ff4c03d150c43df3e8438d323b7f7bfe3353c (diff) | |
download | cpython-7992579cd27f14f472acc37aca537eec55f681ef.zip cpython-7992579cd27f14f472acc37aca537eec55f681ef.tar.gz cpython-7992579cd27f14f472acc37aca537eec55f681ef.tar.bz2 |
bpo-40422: Move _Py_closerange to fileutils.c (GH-22680)
This API is relatively lightweight and organizationally, given that it's
used by multiple modules, it makes sense to move it to fileutils.
Requires making sure that _posixsubprocess is compiled with the appropriate
Py_BUIILD_CORE_BUILTIN macro.
Diffstat (limited to 'Modules/_posixsubprocess.c')
-rw-r--r-- | Modules/_posixsubprocess.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c index ed046fc..d08c479 100644 --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -1,5 +1,6 @@ /* Authors: Gregory P. Smith & Jeffrey Yasskin */ #include "Python.h" +#include "pycore_fileutils.h" #if defined(HAVE_PIPE2) && !defined(_GNU_SOURCE) # define _GNU_SOURCE #endif |