| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,3 @@ | |||
| 1 | + On macOS, do not attempt to use the :manpage:`dup3(2)` and | ||
| 2 | + :manpage:`pipe2(2)` system calls introduced in | ||
| 3 | + macOS 27 to prevent problems when running on older systems. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5282,7 +5282,13 @@ fi | |||
| 5282 | 5282 | # header definition prevents usage - autoconf doesn't use the headers), or | |
| 5283 | 5283 | # raise an error if used at runtime. Force these symbols off. | |
| 5284 | 5284 | if test "$ac_sys_system" != "iOS" ; then | |
| 5285 | - AC_CHECK_FUNCS([dup3 getentropy getgroups pipe2 system]) | ||
| 5285 | + AC_CHECK_FUNCS([getentropy getgroups system]) | ||
| 5286 | + fi | ||
| 5287 | + # In addition, macOS introduced dup3 and pipe2 in macOS 27, late in the | ||
| 5288 | + # lifetime of this version of Python. Rather than adding weaklinking | ||
| 5289 | + # support for them, just continue to ignore them. | ||
| 5290 | + if test "$ac_sys_system" != "iOS" -a "$ac_sys_system" != "Darwin"; then | ||
| 5291 | + AC_CHECK_FUNCS([dup3 pipe2]) | ||
| 5286 | 5292 | fi | |
| 5287 | 5293 | ||
| 5288 | 5294 | AC_CHECK_DECL([dirfd], | |
| Back | FazBrowse Home | New Git URL |
0 commit comments