summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-08-17 09:28:59 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-08-17 12:03:03 -0700
commit1a210762d5bf269bea5eabd309a119585a912d6d (patch)
tree56a7b2c6e49293be059431b07acae3e392309558 /scripts/git-hooks/commit-msg
parentdae474bf9ba16b674b3a53e9d7ebaadd9663516a (diff)
downloadcoreutils-1a210762d5bf269bea5eabd309a119585a912d6d.tar.gz
coreutils-1a210762d5bf269bea5eabd309a119585a912d6d.zip
sort: use pthread_sigmask, not sigprocmask
POSIX says sigprocmask has unspecified behavior in a multithreaded program like ‘sort’. * src/sort.c (pthread_sigmask) [GNULIB_defined_pthread_functions]: New macro, for use when ‘sort’ is not multithreaded. (cs_enter, cs_leave): Use it. Pass address, not value, as this is typically a tad faster. All callers changed.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions