Actions
Bug #324
closedsendfile test coredumps on DragonFly
Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
The test for sendfile coredumps on DragonFly and FreeBSD,
since the arguments don't match the system call. A simple
workaround is using an file descriptor of -1.
Index: configure.in =================================================================== --- configure.in (revision 323) +++ configure.in (working copy) @@ -324,7 +324,7 @@ #include <errno.h> int main() { int o = 0; - if (-1 == sendfile(0, 0, &o, 0) && errno == ENOSYS) return -1; + if (-1 == sendfile(-1, 0, &o, 0) && errno == ENOSYS) return -1; return 0; } ], AC_MSG_RESULT(yes),
-- joerg
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to fixed
Fixed in r808
Actions
Also available in: Atom