Ticket #324 (new defect)

Opened 3 years ago

Last modified 2 years ago

sendfile test coredumps on DragonFly

Reported by: joerg@… Owned by: jan
Priority: normal Milestone:
Component: core Version:
Severity: minor Keywords:
Cc: Blocked By:
Need User Feedback: Blocking:

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

Attachments

Add/Change #324 (sendfile test coredumps on DragonFly)

Author



Change Properties
<Author field>
Action
as new
 
Note: See TracTickets for help on using tickets.