Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Little bit more debug information.



details:   https://anonhg.NetBSD.org/src/rev/654d2863ecdf
branches:  trunk
changeset: 760053:654d2863ecdf
user:      blymn <blymn%NetBSD.org@localhost>
date:      Sat Dec 25 10:08:20 2010 +0000

description:
Little bit more debug information.

diffstat:

 lib/libcurses/attributes.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r c92e45ec9d5b -r 654d2863ecdf lib/libcurses/attributes.c
--- a/lib/libcurses/attributes.c        Sat Dec 25 10:05:08 2010 +0000
+++ b/lib/libcurses/attributes.c        Sat Dec 25 10:08:20 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: attributes.c,v 1.20 2010/02/03 15:34:40 roy Exp $      */
+/*     $NetBSD: attributes.c,v 1.21 2010/12/25 10:08:20 blymn Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: attributes.c,v 1.20 2010/02/03 15:34:40 roy Exp $");
+__RCSID("$NetBSD: attributes.c,v 1.21 2010/12/25 10:08:20 blymn Exp $");
 #endif                         /* not lint */
 
 #include "curses.h"
@@ -358,6 +358,9 @@
        __CTRACE(__CTRACE_ATTR, "termattrs\n");
 #endif
        if (exit_attribute_mode != NULL) {
+#ifdef DEBUG
+       __CTRACE(__CTRACE_ATTR, "termattrs: have exit attribute mode\n");
+#endif
                if (enter_blink_mode != NULL)
                        ch |= __BLINK;
                if (enter_bold_mode != NULL)



Home | Main Index | Thread Index | Old Index