Mercurial > hg > nginx-site
comparison xml/cn/docs/sys_errlist.xml @ 558:149f54c158f0
Added initial translation in simplified Chinese submitted by the
Server Platforms Team at Taobao.com.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 28 Jun 2012 10:27:07 +0000 |
parents | |
children | 9934338f83af |
comparison
equal
deleted
inserted
replaced
557:654096219aba | 558:149f54c158f0 |
---|---|
1 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | |
2 | |
3 <article name="关于“‘sys_errlist’ is deprecated; use ‘strerror’ or ‘strerror_r’ instead”的提示" | |
4 link="/cn/docs/sys_errlist.html" | |
5 lang="cn"> | |
6 | |
7 | |
8 <section> | |
9 | |
10 <para> | |
11 在Linux环境下编译nginx 0.7.66、0.8.35或更高版本时,会出现以下警告: | |
12 | |
13 <programlisting> | |
14 warning: `sys_errlist' is deprecated; | |
15 use `strerror' or `strerror_r' instead | |
16 warning: `sys_nerr' is deprecated; | |
17 use `strerror' or `strerror_r' instead | |
18 </programlisting> | |
19 | |
20 这属于正常情况:nginx必须在信号处理函数中使用过时的sys_errlist[]和sys_nerr,因为strerror()和strerror_r()是非异步信号安全的。 | |
21 </para> | |
22 | |
23 </section> | |
24 | |
25 </article> |