comparison xml/en/docs/sys_errlist.xml @ 200:19c060caf965

- Figured out how to add new faq entries to makefile - Aligned sys_errlist style with the other entries - Minor typos corrected in the other entries
author Andrey Alexeev <andrew@nginx.com>
date Wed, 23 Nov 2011 17:19:40 +0000
parents 7db449e89e92
children be54c443235a
comparison
equal deleted inserted replaced
199:8796246b31e1 200:19c060caf965
9 9
10 10
11 <section> 11 <section>
12 12
13 <para> 13 <para>
14 <initial>Q:</initial>
14 While building nginx version 0.7.66, 0.8.35 or higher on Linux 15 While building nginx version 0.7.66, 0.8.35 or higher on Linux
15 the following warning messages are issued: 16 the following warning messages are issued:
16 17
17 <programlisting> 18 <programlisting>
18 warning: `sys_errlist' is deprecated; 19 warning: `sys_errlist' is deprecated;
19 use `strerror' or `strerror_r' instead 20 use `strerror' or `strerror_r' instead
20 warning: `sys_nerr' is deprecated; 21 warning: `sys_nerr' is deprecated;
21 use `strerror' or `strerror_r' instead 22 use `strerror' or `strerror_r' instead
22 </programlisting> 23 </programlisting>
23 24
25 </para>
26
27 <para>
28 <initial>A:</initial>
24 This is normal: nginx has to use the deprecated sys_errlist[] and sys_nerr 29 This is normal: nginx has to use the deprecated sys_errlist[] and sys_nerr
25 in signal handlers because strerror() and strerror_r() functions 30 in signal handlers because strerror() and strerror_r() functions
26 are not Async-Signal-Safe. 31 are not Async-Signal-Safe.
27 </para> 32 </para>
28 33