]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: /proc/<PID>/status: simplify code generating signal info
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 9 Jan 2023 17:02:14 +0000 (18:02 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 9 Jan 2023 17:02:14 +0000 (18:02 +0100)
commit9ee1e1b693ad7785e07f126ec725279fe605d621
tree0b4f573f5a3a499beca7361b05758cfdd225c90f
parent7886327fbf92e6ad8bd3f27ea9fa8bd54cc44bdd
Cygwin: /proc/<PID>/status: simplify code generating signal info

The code generating the signal info in _pinfo::siginfo() and in
commune_process() are doing the same thing.  Create a local static
function commune_process_siginfo() to have the code in one place
only.  Remove a useless sigpending() call.

Fixes: 9a3c058f6612 ("Cygwin: /proc/<PID>/status: Fill SigPnd, SigBlk and SigIgn values with life")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/pinfo.cc
This page took 0.030291 seconds and 5 git commands to generate.