comparison src/os/unix/ngx_freebsd_init.c @ 152:fb48bf4fea1c

nginx-0.0.1-2003-10-21-11:47:21 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Oct 2003 07:47:21 +0000
parents ef8c87afcfc5
children 4c698194c56d
comparison
equal deleted inserted replaced
151:2d9e4a8b6d11 152:fb48bf4fea1c
98 98
99 #if (HAVE_FREEBSD_SENDFILE) 99 #if (HAVE_FREEBSD_SENDFILE)
100 100
101 /* 101 /*
102 * The determination of the sendfile() nbytes bug is complex enough. 102 * The determination of the sendfile() nbytes bug is complex enough.
103 * There're two sendfile() syscalls: a new 393 has no bug while 103 * There are two sendfile() syscalls: a new 393 has no bug while
104 * an old 336 has the bug in some versions and has not in others. 104 * an old 336 has the bug in some versions and has not in others.
105 * Besides libc_r wrapper also emulates the bug in some versions. 105 * Besides libc_r wrapper also emulates the bug in some versions.
106 * There's no way to say exactly if a given FreeBSD version has the bug. 106 * There's no way to say exactly if a given FreeBSD version has the bug.
107 * Here is the algorithm that works at least for RELEASEs 107 * Here is the algorithm that works at least for RELEASEs
108 * and for syscalls only (not libc_r wrapper). 108 * and for syscalls only (not libc_r wrapper).