Project

General

Profile

Actions

Bug #324

closed

sendfile test coredumps on DragonFly

Added by Anonymous over 19 years ago. Updated over 16 years ago.

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

Actions #1

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