On 12/10/21 9:52 PM, Junio C Hamano wrote:
* js/trace2-avoid-recursive-errors (2021-11-18) 1 commit
(merged to 'next' on 2021-12-02 at c5b1e5ddec)
+ trace2: disable tr2_dst before warning on write errors
trace2 error code path fix.
source: [ref]
Sorry, I've been away from the list for a while.
I just noticed this is using "sigchain_push()" which might
be called from threaded code and could cause problems.
I think pthread_sigmask() would be a safer choice here.
I documented the reasons in compat/simple-ipc/ipc-unix-socket.c
in the header before "thread_block_sigpipe()".
Jeff