comparison src/os/unix/ngx_freebsd_init.c @ 253:b6793bc5034b

nginx-0.0.2-2004-02-09-10:46:43 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 09 Feb 2004 07:46:43 +0000
parents 6e0fef527732
children ee394e997c77
comparison
equal deleted inserted replaced
252:84b1c672ec5a 253:b6793bc5034b
113 113
114 #if (HAVE_SENDFILE) 114 #if (HAVE_SENDFILE)
115 115
116 /* 116 /*
117 * The determination of the sendfile() nbytes bug is complex enough. 117 * The determination of the sendfile() nbytes bug is complex enough.
118 * There are two sendfile() syscalls: a new 393 has no bug while 118 * There are two sendfile() syscalls: a new #393 has no bug while
119 * an old 336 has the bug in some versions and has not in others. 119 * an old #336 has the bug in some versions and has not in others.
120 * Besides libc_r wrapper also emulates the bug in some versions. 120 * Besides libc_r wrapper also emulates the bug in some versions.
121 * There's no way to say exactly if a given FreeBSD version has the bug. 121 * There's no way to say exactly if a given FreeBSD version has the bug.
122 * Here is the algorithm that works at least for RELEASEs 122 * Here is the algorithm that works at least for RELEASEs
123 * and for syscalls only (not libc_r wrapper). 123 * and for syscalls only (not libc_r wrapper).
124 * 124 *