top: restore one line of code to sig_endpgm() function
When that potential abend at program end was addressed in the patch shown below, one line of code was removed in error. That line served to suppress some end-of-job reports should ATEOJ_RPTSTD or ATEOJ_RPTHSH be active. So, this patch restores that previously deleted logic. Reference(s): . potential SEGV fix, newlib branch commit 90c22e64ffc52e01ea2c9b81680d4b4a37f2d8c4 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
1f01bd9a9f
commit
be31d2470b
@ -455,6 +455,7 @@ static void sig_abexit (int sig) {
|
|||||||
* SIGUSR1 and SIGUSR2 */
|
* SIGUSR1 and SIGUSR2 */
|
||||||
static void sig_endpgm (int dont_care_sig) __attribute__((__noreturn__));
|
static void sig_endpgm (int dont_care_sig) __attribute__((__noreturn__));
|
||||||
static void sig_endpgm (int dont_care_sig) {
|
static void sig_endpgm (int dont_care_sig) {
|
||||||
|
Frames_signal = BREAK_sig;
|
||||||
bye_bye(NULL);
|
bye_bye(NULL);
|
||||||
(void)dont_care_sig;
|
(void)dont_care_sig;
|
||||||
} // end: sig_endpgm
|
} // end: sig_endpgm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user