From 5d8402159f505a3140bc1ebd0890a3c0011fc277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Randy=20D=C3=B6ring?= <30527984+radoering@users.noreply.github.com> Date: Mon, 21 Apr 2025 06:37:51 +0200 Subject: [PATCH] Fix potential filedescriptor leak by not applying `-hugify` With `-hugify` the following tests fail: python -m test -v -m test_pass_fds_redirected test_subprocess.py python -m test -v -m test_no_* test_cmd_line.py python -m test -v -m test_close_file test_posix.py See https://github.com/astral-sh/python-build-standalone/issues/586 for details. --- .../patch-configure-bolt-apply-flags-128514.patch | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cpython-unix/patch-configure-bolt-apply-flags-128514.patch b/cpython-unix/patch-configure-bolt-apply-flags-128514.patch index e810a482..e9d86432 100644 --- a/cpython-unix/patch-configure-bolt-apply-flags-128514.patch +++ b/cpython-unix/patch-configure-bolt-apply-flags-128514.patch @@ -12,11 +12,3 @@ index ee034e5a962..f1a69b7d4a7 100644 -icf=1 -inline-all -split-eh -@@ -2196,6 +2197,7 @@ then - -dyno-stats - -use-gnu-stack - -frame-opt=hot -+ -hugify - ")] - ) - fi