Opened 10 years ago

Last modified 8 years ago

#1147 new defect

sendfile 1.7.29 feature test should fail on OpenBSD but passes

Reported by: Christian Kellermann Owned by: certainty
Priority: major Milestone: someday
Component: extensions Version: 4.9.x
Keywords: sendfile feature test openbsd Cc:
Estimated difficulty: medium


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.)

Change History (2)

comment:1 Changed 10 years ago by sjamaan

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>.

comment:2 Changed 8 years ago by sjamaan

Estimated difficulty: medium
Note: See TracTickets for help on using tickets.