]> granicus.if.org Git - strace/commit
Fix signame usage in qual_signal
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 18 Nov 2016 00:11:39 +0000 (00:11 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 18 Nov 2016 00:11:39 +0000 (00:11 +0000)
commit57506ae00f7e00ea84801b763975b72fcce58111
treed4750057bcaab8e0d3268ddbc905cb6214e64aa9
parent8f73dc556e7a106e819e3acddd2778de7f7e7e4e
Fix signame usage in qual_signal

Do not assume that the string returned by signame starts with "SIG"
prefix, this is not always the case.

* syscall.c (qual_signal): Skip signame return value
when it does not have "SIG" prefix.
syscall.c