Message378445
for reference, very recent Linux kernels appear to have gained a close_range syscall. http://lkml.iu.edu/hypermail/linux/kernel/2008.0/02649.html
Your diff isn't quite sufficient as is. When depending on a syscall that has a function provided by libc, the libc function may exist (thus HAVE_CLOSE_RANGE will be true at Python compile time) but the system the process is running on may not support the system call. So it'll return an EINVAL (or something like that) error.
Special handling of that error to add an `else {...}` falling back to the other codepath is necessary. |
|
Date |
User |
Action |
Args |
2020-10-11 18:48:20 | gregory.p.smith | set | recipients:
+ gregory.p.smith, kevans91 |
2020-10-11 18:48:19 | gregory.p.smith | set | messageid: <1602442099.98.0.0996774522491.issue40423@roundup.psfhosted.org> |
2020-10-11 18:48:19 | gregory.p.smith | link | issue40423 messages |
2020-10-11 18:48:19 | gregory.p.smith | create | |
|