summaryrefslogtreecommitdiff
path: root/pod/nginx/sys_errlist.pod
blob: abc5e9666b8949dae630a7b75209bd35ff9be67a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
=encoding utf-8


=head1 Name


sys_errlist


=head1



B<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








B<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.