diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-16 21:32:41 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-16 21:32:41 (GMT) |
commit | 267ebf6c84eb4437c219c16848678b090b4af6e2 (patch) | |
tree | b17c55b198e26df951cf556162775dd68765f688 /run-command.h | |
parent | f4892a3c2883bd517edf370c747afde29a0c2b3c (diff) | |
parent | 507d7804c0b094889cd20f23ad9a48e2b76791f3 (diff) | |
download | git-267ebf6c84eb4437c219c16848678b090b4af6e2.zip git-267ebf6c84eb4437c219c16848678b090b4af6e2.tar.gz git-267ebf6c84eb4437c219c16848678b090b4af6e2.tar.bz2 |
Merge branch 'ti/glibc-stdio-mutex-from-signal-handler' into maint
Allocation related functions and stdio are unsafe things to call
inside a signal handler, and indeed killing the pager can cause
glibc to deadlock waiting on allocation mutex as our signal handler
tries to free() some data structures in wait_for_pager(). Reduce
these unsafe calls.
* ti/glibc-stdio-mutex-from-signal-handler:
pager: don't use unsafe functions in signal handlers
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h index 5b4425a..275d35c 100644 --- a/run-command.h +++ b/run-command.h @@ -50,6 +50,7 @@ void child_process_init(struct child_process *); int start_command(struct child_process *); int finish_command(struct child_process *); +int finish_command_in_signal(struct child_process *); int run_command(struct child_process *); /* |