Mercurial > hg > nginx-site
diff xml/en/docs/sys_errlist.xml @ 0:61e04fc01027
Initial import of the nginx.org website.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 11 Aug 2011 12:19:13 +0000 |
parents | |
children | 9d544687d02c |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/xml/en/docs/sys_errlist.xml @@ -0,0 +1,31 @@ +<!DOCTYPE digest SYSTEM "../../../dtd/article.dtd"> + +<article title="A message “ ‘sys_errlist’ + is deprecated; + use ‘strerror’ or ‘strerror_r’ + instead ”" + link="/en/docs/sys_errlist.html" + lang="en"> + + +<section> + +<para> +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> + +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>