Mercurial > hg > nginx-site
view xml/cn/docs/sys_errlist.xml @ 610:f71947553000
If "debug_connection" directive's parameter is specified using a hostname,
all resolved IPv4 addresses are now used, not only the first one.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 30 Jul 2012 13:13:32 +0000 |
parents | 149f54c158f0 |
children | 9934338f83af |
line wrap: on
line source
<!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> <article name="关于“‘sys_errlist’ is deprecated; use ‘strerror’ or ‘strerror_r’ instead”的提示" link="/cn/docs/sys_errlist.html" lang="cn"> <section> <para> 在Linux环境下编译nginx 0.7.66、0.8.35或更高版本时,会出现以下警告: <programlisting> warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead </programlisting> 这属于正常情况:nginx必须在信号处理函数中使用过时的sys_errlist[]和sys_nerr,因为strerror()和strerror_r()是非异步信号安全的。 </para> </section> </article>