Mercurial > hg > nginx-ranges
comparison auto/os/freebsd @ 232:d8f5c91a5c07 NGINX_0_4_1
nginx 0.4.1
*) Bugfix: the DragonFlyBSD compatibility.
Thanks to Pavel Nazarov.
*) Workaround: of bug in 64-bit Linux sendfile(), when file is more
than 2G.
*) Feature: now on Linux nginx uses O_NOATIME flag for static
requests.
Thanks to Yusuf Goolamabbas.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 14 Sep 2006 00:00:00 +0400 |
parents | 408f195b3482 |
children | d41628eb4d0a |
comparison
equal
deleted
inserted
replaced
231:8024b0d52263 | 232:d8f5c91a5c07 |
---|---|
12 ' | 12 ' |
13 | 13 |
14 | 14 |
15 # __FreeBSD_version and sysctl kern.osreldate are the best ways | 15 # __FreeBSD_version and sysctl kern.osreldate are the best ways |
16 # to determine whether some capability exists and is safe to use. | 16 # to determine whether some capability exists and is safe to use. |
17 # __FreeBSD_version is used for the testing of the build enviroment. | 17 # __FreeBSD_version is used for the testing of the build environment. |
18 # sysctl kern.osreldate is used for the testing of the kernel capabilities. | 18 # sysctl kern.osreldate is used for the testing of the kernel capabilities. |
19 | 19 |
20 version=`grep "#define __FreeBSD_version" /usr/include/osreldate.h \ | 20 version=`grep "#define __FreeBSD_version" /usr/include/osreldate.h \ |
21 | sed -e 's/^.* \(.*\)$/\1/'` | 21 | sed -e 's/^.* \(.*\)$/\1/'` |
22 | 22 |