Tomohiro Kusumi 5b1443c47e 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 <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8593
2019-04-30 20:45:17 -07:00
..
2016-03-16 13:46:16 -07:00
2016-03-16 13:46:16 -07:00
2017-05-22 12:34:32 -04:00
2018-04-12 10:50:39 -07:00
2017-05-22 12:34:32 -04:00
2018-03-28 10:19:22 -07:00
2016-03-16 13:46:16 -07:00
2016-03-16 13:46:16 -07:00
2016-10-08 14:57:56 -07:00
2016-03-16 13:46:16 -07:00
2017-05-22 12:34:32 -04:00