[Pcsclite-cvs-commit] r1720 - trunk/PCSC/src

Ludovic Rousseau rousseau at costa.debian.org
Mon Nov 21 10:32:32 UTC 2005


Author: rousseau
Date: 2005-11-21 10:32:31 +0000 (Mon, 21 Nov 2005)
New Revision: 1720

Modified:
   trunk/PCSC/src/debuglog.c
Log:
DebugLogSetLogType(): add support for "xterm-color" used by Mac OS X
Terminal


Modified: trunk/PCSC/src/debuglog.c
===================================================================
--- trunk/PCSC/src/debuglog.c	2005-11-16 10:36:47 UTC (rev 1719)
+++ trunk/PCSC/src/debuglog.c	2005-11-21 10:32:31 UTC (rev 1720)
@@ -166,7 +166,7 @@
 	/* log to stderr and stderr is a tty? */
 	if (DEBUGLOG_STDERR_DEBUG == LogMsgType && isatty(fileno(stderr)))
 	{
-		const char *terms[] = { "linux", "xterm", "Eterm", "rxvt", "rxvt-unicode" };
+		const char *terms[] = { "linux", "xterm", "xterm-color", "Eterm", "rxvt", "rxvt-unicode" };
 		char *term;
 
 		term = getenv("TERM");




More information about the Pcsclite-cvs-commit mailing list