Re: check if DEBUG is defined in trap.c

2015-09-26 Thread Chet Ramey
On 9/25/15 10:49 PM, isabella parakiss wrote: > diff --git a/trap.c b/trap.c > index bf911ac..0a47f19 100644 > --- a/trap.c > +++ b/trap.c DEBUG is always #defined in the devel branch. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hi

check if DEBUG is defined in trap.c

2015-09-25 Thread isabella parakiss
diff --git a/trap.c b/trap.c index bf911ac..0a47f19 100644 --- a/trap.c +++ b/trap.c @@ -320,7 +320,9 @@ run_pending_traps () while (pending_traps[sig]--) instead of the if statement. */ if (pending_traps[sig]) { +#if defined (DEBUG) itrace("run_pending_traps: %d: %d", sig,