Skip to content

Commit dedc2cd

Browse files
authored
bpo-41625: Do not add os.splice on AIX due to compatibility issues (GH-23608)
1 parent 99b5944 commit dedc2cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Modules/clinic/posixmodule.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10370,7 +10370,7 @@ os_copy_file_range_impl(PyObject *module, int src, int dst, Py_ssize_t count,
1037010370
}
1037110371
#endif /* HAVE_COPY_FILE_RANGE*/
1037210372

10373-
#ifdef HAVE_SPLICE
10373+
#if (defined(HAVE_SPLICE) && !defined(_AIX))
1037410374
/*[clinic input]
1037510375
1037610376
os.splice

0 commit comments

Comments
 (0)