trap.c (1cffe8b812e5efda80d7c68dab86d2e1906ef088) trap.c (1a4e959eb34ae03a96f6d0dea68b6a6a88ac4462)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1991, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Kenneth Almquist.

--- 260 unchanged lines hidden (view full) ---

269 action = S_IGN;
270 if (action == S_DFL) {
271 switch (signo) {
272 case SIGINT:
273 action = S_CATCH;
274 break;
275 case SIGQUIT:
276#ifdef DEBUG
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1991, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Kenneth Almquist.

--- 260 unchanged lines hidden (view full) ---

269 action = S_IGN;
270 if (action == S_DFL) {
271 switch (signo) {
272 case SIGINT:
273 action = S_CATCH;
274 break;
275 case SIGQUIT:
276#ifdef DEBUG
277 {
278 extern int debug;
279
280 if (debug)
281 break;
277 if (debug)
278 break;
282 }
283#endif
284 action = S_CATCH;
285 break;
286 case SIGTERM:
287 if (rootshell && iflag)
288 action = S_IGN;
289 break;
290#if JOBS

--- 264 unchanged lines hidden ---
279#endif
280 action = S_CATCH;
281 break;
282 case SIGTERM:
283 if (rootshell && iflag)
284 action = S_IGN;
285 break;
286#if JOBS

--- 264 unchanged lines hidden ---