mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
This patch simplifies sighold a bit by removing an extra sigprocmask and using SIG_BLOCK (which union of the current set and the set argument). Checked on x86_64-linux-gnu. * signal/sighold.c (sighold): Optimize implementation. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Zack Weinberg <zackw@panix.com>shebs/clangify
2 changed files with 4 additions and 8 deletions
Loading…
Reference in new issue