Opened 3 years ago

Last modified 15 months ago

#1147 new defect

sendfile 1.7.29 feature test should fail on OpenBSD but passes

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

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

Change History (2)

comment:1 Changed 3 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 15 months ago by sjamaan

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