Summary
sendfile 1.7.29 feature test should fail on OpenBSD but passes
Metadata
- Id: 00ae5facb9d51df9fe205df99395a49d2593685f
- Trac id: 1147
- Type: defect
- Reporter: ckeen
- Owner: certainty
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty: medium
- Resolution: invalid
- Priority: major
- Milestone: someday
- Version: 4.9.x
- Changetime: 2024-12-23 14:39:23 UTC
- Created: 2014-08-11 21:05:20 UTC
- Keywords: sendfile feature test openbsd
Description
The sendfile-bsd-test in sendfile's setup file compiles on OpenBSD but would not link as the sendfile symbol is not part of OpenBSD's libc.
However since the test is done with try-compile comile-only: #t the test passes where it shouldn't.
As Peter Bex noted the test fails on NetBSD which also has no sendfile function available, but this may be related to a real compilation error (missing or wrong include file etc.)
Changes and comments
[2014-08-11 21:11:39 UTC] sjamaan wrote:
The test fails on NetBSD with this error: error: ‘NULL’ undeclared (first use in this function). I think that's because it's missing #include <stdlib.h>.
[2016-08-25 21:36:29 UTC] sjamaan set difficulty to medium
[2024-12-23 14:39:23 UTC] sjamaan changed status from new to closed
[2024-12-23 14:39:23 UTC] sjamaan set resolution to invalid
[2024-12-23 14:39:23 UTC] sjamaan wrote:
This egg no longer uses try-compile. If it's still an issue, please reopen.