Commit 7afcfcc
committed
POSIX: fix type of restore_sigmask
SAVEDESTRUCTOR_X needs a function of type 'void (pTHX_ void *)' exactly.
Should fix this ASan error:
scope.c:1543:13: runtime error: call to function restore_sigmask through pointer to incorrect function type 'void (*)(struct interpreter *, void *)'
(Also, change indentation from 5 to 4 spaces.)1 parent 0b23ab5 commit 7afcfcc
2 files changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
1632 | | - | |
| 1632 | + | |
1633 | 1633 | | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
1639 | 1639 | | |
1640 | | - | |
1641 | | - | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1642 | 1643 | | |
1643 | 1644 | | |
1644 | 1645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments