A message “ ‘sys_errlist’ is deprecated; use ‘strerror’ or ‘strerror_r’ instead ” | english русский 简体中文 עברית 日本語 türkçe news about download security advisories documentation pgp keys faq links books support donation trac wiki nginx.com |
Q: While building nginx version 0.7.66, 0.8.35 or higher on Linux the following warning messages are issued: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
A: 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. |