httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29858] - Add support for DragonFly BSD
Date Fri, 09 Jul 2004 08:19:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29858

Add support for DragonFly BSD





------- Additional Comments From asmodai@tendra.org  2004-07-09 08:19 -------
This snippet is especially crucial:

#define KERNEL_WITH_SENDFILE_LENGTH_FIX 460001

[snip]

    kernel_version = 0;    /* silence compiler warning */
    kernel_version_size = sizeof(kernel_version);
    if (sysctlbyname("kern.osreldate", &kernel_version,
                     &kernel_version_size, NULL, NULL) == 0 &&
        kernel_version < KERNEL_WITH_SENDFILE_LENGTH_FIX) {
        api = OLD;
        return 1;
    }

$ sysctl kern.osreldate 
kern.osreldate: 100000

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message