commit | 2b72dbbcf3a1d6c6813db2c13afaa1d0d8585f7b | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Wed Oct 07 13:38:16 2015 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Oct 07 13:38:16 2015 -0700 |
tree | 2f81c60d1cecda69be7d189aba6ab99f333efc2d | |
parent | 24a00ef646974be49ef7138239c3803805400797 [diff] | |
parent | 507d7804c0b094889cd20f23ad9a48e2b76791f3 [diff] |
Merge branch 'ti/glibc-stdio-mutex-from-signal-handler' 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