|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD & Linux disk AIO support
- To: nginx-ru@xxxxxxxxx
- Subject: Re: FreeBSD & Linux disk AIO support
- From: Anton Bessonov <exelib@xxxxxxxxxxxxxx>
- Date: Tue, 25 Aug 2009 17:08:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=JRbRKgBlrX2YgsJsw8gsHO3Xn/UreFiXStBYAUnimj0=; b=XentJGyvKqaNty0vl0RSKZE2eT7kOxM7151UaBrLyiW5Spf1WU9czRbuVCfHz97s/L VrDHoZpYukmGGHL7LKRqLvIBgiWVQKBiNACJ2FeXo6D2d2HatayiC3Ovck+y3ASELYBO F600hNquCLrAW4RRxn220qs3qQGCWVRsBkgzE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=YogQcSPlZQLwpwcQKqRTZQWaaUPqQ+0hhOxdiVQq/FQkQtm7IUKKX0Q7Jbgz+YXY8t 72ZtnTD3UVd2rwfdydV8tO+elf1f3F70QKtEKqX8JJnE9Bmb/FRqyCq/tmvJvz+e3YjP XCHY+2CIdjGNSbX5W96K/UztahEq/nRw+hplA=
- In-reply-to: <20090825143028.GH96403@xxxxxxxxxxxxx>
- References: <20090825143028.GH96403@xxxxxxxxxxxxx>
Пробежался глазами:
- if (ready == -1) {
- err = ngx_socket_errno;
- } else {
- err = 0;
- }
+ err = (ready == -1) ? ngx_errno : 0;
не очепятка?
Igor Sysoev schrieb:
Патч.
FreeBSD: изменений практически нет.
Linux: минимальная версия ядра 2.6.22.
|
|
|