Commit b93f902
committed
Always use Zend signal handling
Being able to choose whether Zend signal handling should be used or not does not
benefit users (or packagers) of PHP in any way. The use of Zend SH is a
purely internal implementation detail, so there is no need for the build config
parameters --{disable,enable}-zend-signals.
By just choosing one way to do things (in this case, always using Zend signal
handling), we can simplify the codebase a bit.
Of course, some platforms do not have the concept of signals and signal handlers
at all. That is why previously, Zend signal handling was automatically disabled
if the platform did not have `sigaction`. In harmony with that, we now guard the
implementation of Zend signal handling with `#ifdef HAVE_SIGACTION`.1 parent 1f3c395 commit b93f902
File tree
13 files changed
+16
-67
lines changed- Zend
- ext/standard
- tests/general_functions
- main
- sapi
- apache2handler
- fuzzer
- litespeed
- phpdbg
13 files changed
+16
-67
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | 306 | | |
324 | 307 | | |
325 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | 168 | | |
170 | | - | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | | - | |
1306 | 1305 | | |
1307 | | - | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | 1306 | | |
1324 | 1307 | | |
1325 | 1308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
444 | 448 | | |
445 | | - | |
| 449 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | | - | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | 851 | | |
858 | 852 | | |
859 | 853 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1751 | 1751 | | |
1752 | 1752 | | |
1753 | 1753 | | |
1754 | | - | |
1755 | | - | |
1756 | 1754 | | |
1757 | | - | |
1758 | 1755 | | |
1759 | 1756 | | |
1760 | 1757 | | |
| |||
1903 | 1900 | | |
1904 | 1901 | | |
1905 | 1902 | | |
1906 | | - | |
1907 | 1903 | | |
1908 | | - | |
1909 | 1904 | | |
1910 | 1905 | | |
1911 | 1906 | | |
| |||
2729 | 2724 | | |
2730 | 2725 | | |
2731 | 2726 | | |
2732 | | - | |
2733 | 2727 | | |
2734 | | - | |
2735 | 2728 | | |
2736 | 2729 | | |
2737 | 2730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
742 | | - | |
743 | 742 | | |
744 | 743 | | |
745 | 744 | | |
746 | 745 | | |
747 | | - | |
748 | 746 | | |
749 | 747 | | |
750 | 748 | | |
751 | 749 | | |
752 | 750 | | |
753 | 751 | | |
754 | | - | |
755 | 752 | | |
756 | | - | |
757 | 753 | | |
758 | 754 | | |
0 commit comments