switch default py3 version to 3.11 and rm old py3.x versions
This commit is contained in:
parent
7f1bb8f14c
commit
9888392b04
63 changed files with 720 additions and 19538 deletions
15
lang/python/3/patches/patch-Python_fileutils_c
Normal file
15
lang/python/3/patches/patch-Python_fileutils_c
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: Python/fileutils.c
|
||||
--- Python/fileutils.c.orig
|
||||
+++ Python/fileutils.c
|
||||
@@ -2614,9 +2614,9 @@ done:
|
||||
* non-opened fd in the middle.
|
||||
* 2b. If fdwalk(3) isn't available, just do a plain close(2) loop.
|
||||
*/
|
||||
-#ifdef __FreeBSD__
|
||||
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__SecBSD__)
|
||||
# define USE_CLOSEFROM
|
||||
-#endif /* __FreeBSD__ */
|
||||
+#endif /* __FreeBSD__ || __OpenBSD__ */
|
||||
|
||||
#ifdef HAVE_FDWALK
|
||||
# define USE_FDWALK
|
Loading…
Add table
Add a link
Reference in a new issue