Mercurial > hg > nginx-site
view xml/en/docs/sys_errlist.xml @ 349:302222923e34
Revision.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 24 Jan 2012 10:13:26 +0000 |
parents | 19c060caf965 |
children | be54c443235a |
line wrap: on
line source
<!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> <article name="A message “ ‘sys_errlist’ is deprecated; use ‘strerror’ or ‘strerror_r’ instead ”" link="/en/docs/sys_errlist.html" lang="en"> <section> <para> <initial>Q:</initial> While building nginx version 0.7.66, 0.8.35 or higher on Linux the following warning messages are issued: <programlisting> warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead </programlisting> </para> <para> <initial>A:</initial> This is normal: nginx has to use the deprecated sys_errlist[] and sys_nerr in signal handlers because strerror() and strerror_r() functions are not Async-Signal-Safe. </para> </section> </article>