From ed25e9f97e007f684146f729bb5cdeaf91b668b6 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sun, 22 Feb 2009 18:16:13 +0800 Subject: [SIGNAL] Remove EXSIG Now that waitcmd no longer uses EXSIG we can remove it. Signed-off-by: Herbert Xu --- src/trap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/trap.c') diff --git a/src/trap.c b/src/trap.c index 53663ae..5b8b046 100644 --- a/src/trap.c +++ b/src/trap.c @@ -73,11 +73,9 @@ char *trap[NSIG]; /* current value of signal */ char sigmode[NSIG - 1]; /* indicates specified signal received */ -char gotsig[NSIG - 1]; +static char gotsig[NSIG - 1]; /* last pending signal */ volatile sig_atomic_t pendingsigs; -/* do we generate EXSIG events */ -int exsig; extern char *signal_names[]; @@ -278,7 +276,7 @@ onsig(int signo) gotsig[signo - 1] = 1; pendingsigs = signo; - if (exsig || (signo == SIGINT && !trap[SIGINT])) { + if (signo == SIGINT && !trap[SIGINT]) { if (!suppressint) onint(); intpending = 1; -- cgit 1.4.1 -pink/about/?h=1.4.1'>about summary refs log tree commit diff
Commit message (Expand)Author
2014-07-28git: update to v2.0.3John Keeping
2014-07-28parsing.c: make commit buffer constJohn Keeping
2014-06-30Bump version.Jason A. Donenfeld
2014-06-29remove debug fprinf() calls that sneaked in with commit 79c985Christian Hesse
2014-06-28git: update to 2.0.1Christian Hesse
2014-06-28ui-patch: Flush stdout after outputting dataJohn Keeping
2014-06-28ui-log: ignore unhandled argumentsJohn Keeping
2014-06-28git: update for git 2.0Christian Hesse
2014-04-17remove trailing whitespaces from source filesChristian Hesse
2014-04-12git: update to 1.9.2Christian Hesse
2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice
2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld
2014-03-20git: update to 1.9.1Christian Hesse