mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 15:33:55 +02:00
999161335d
(since any python branch switch touches thousands of ports): - stop using FLAVOR=python3 / MODPY_FLAVOR / etc in py3 ports. - rename MODPY_EGG_VERSION (which refers to an obsolete packaging format) with MODPY_DISTV (easier to type and line up in Makefiles) bumps and adjustments to follow. lots of help from tb@, thanks!
16 lines
421 B
Plaintext
16 lines
421 B
Plaintext
Index: Python/fileutils.c
|
|
--- Python/fileutils.c.orig
|
|
+++ Python/fileutils.c
|
|
@@ -2875,9 +2875,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__)
|
|
# define USE_CLOSEFROM
|
|
-#endif /* __FreeBSD__ */
|
|
+#endif /* __FreeBSD__ || __OpenBSD__ */
|
|
|
|
#ifdef HAVE_FDWALK
|
|
# define USE_FDWALK
|