Summary

sendfile 1.7.29 feature test should fail on OpenBSD but passes

Metadata

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.