diff options
author | Tomohiro Kusumi <[email protected]> | 2019-04-10 01:58:03 +0900 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-04-30 20:45:17 -0700 |
commit | 5b1443c47e4ae5c53f343f3d0fb81d8d963c3d95 (patch) | |
tree | b46351f14f7870ba4431a1cf6fef6ea6a3ec96ed /TEST | |
parent | f0ce0436aa801a5b281f93a456d394fe141034f7 (diff) |
Use sigaction(2) instead of sigset(3) for portability
sigset(3) isn't portable.
This code fails to compile on platforms without sigset(3).
Use sigaction(2).
--
largest_file.c: In function 'main':
largest_file.c:75:9: error: implicit declaration of function 'sigset'; did you mean 'sigvec'? [-Werror=implicit-function-declaration]
(void) sigset(SIGXFSZ, sigxfsz);
^~~~~~
sigvec
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tomohiro Kusumi <[email protected]>
Closes #8593
Diffstat (limited to 'TEST')
0 files changed, 0 insertions, 0 deletions