summaryrefslogtreecommitdiff
path: root/app/xterm/misc.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-06-02 19:55:51 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-06-02 19:55:51 +0000
commit9fc4e493cf500f658954d0972fd245162e7fec4d (patch)
treebf6e4158affb109bd2e2bad881a24b763db36669 /app/xterm/misc.c
parentf62ed4d7f0ac238a2f26aff830376ebf260f7a92 (diff)
Update to xterm 293. Tested by naddy@ ajacoutot@
Diffstat (limited to 'app/xterm/misc.c')
-rw-r--r--app/xterm/misc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/xterm/misc.c b/app/xterm/misc.c
index b44d58ec6..c9e9b18a4 100644
--- a/app/xterm/misc.c
+++ b/app/xterm/misc.c
@@ -1,4 +1,4 @@
-/* $XTermId: misc.c,v 1.658 2013/02/03 23:18:38 tom Exp $ */
+/* $XTermId: misc.c,v 1.660 2013/05/26 21:16:20 tom Exp $ */
/*
* Copyright 1999-2012,2013 by Thomas E. Dickey
@@ -1874,6 +1874,7 @@ logpipe(int sig GCC_UNUSED)
XtermWidget xw = term;
TScreen *screen = TScreenOf(xw);
+ DEBUG_MSG("handle:logpipe\n");
#ifdef SYSV
(void) signal(SIGPIPE, SIG_IGN);
#endif /* SYSV */
@@ -4831,11 +4832,9 @@ AllocateTermColor(XtermWidget xw,
void
Panic(const char *s GCC_UNUSED, int a GCC_UNUSED)
{
-#ifdef DEBUG
- if (debug) {
+ if_DEBUG({
xtermWarning(s, a);
- }
-#endif /* DEBUG */
+ });
}
const char *