mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 17:05:01 +03:00
sigignore(3) isn't portable.
This code fails to compile on platforms without sigignore(3).
Use sigaction(2).
--
zfs_main.c: In function 'zfs_do_diff':
zfs_main.c:7178:9: error: implicit declaration of function 'sigignore' [-Werror=implicit-function-declaration]
(void) sigignore(SIGPIPE);
^~~~~~~~~
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #8593
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| zfs_iter.c | ||
| zfs_iter.h | ||
| zfs_main.c | ||
| zfs_project.c | ||
| zfs_projectutil.h | ||
| zfs_util.h | ||