[hackers] [st] apply Nick's patch to fix some error printf to use stderr || pancake

From: <hg_AT_suckless.org>
Date: Fri, 1 Apr 2011 07:49:54 +0000 (UTC)

changeset: 180:1f3f9d84d2f1
user: pancake_AT_nopcode.org
date: Fri Apr 01 09:32:41 2011 +0200
files: st.c
description:
apply Nick's patch to fix some error printf to use stderr

diff -r 7bae6f59e9f6 -r 1f3f9d84d2f1 st.c
--- a/st.c Sun Jan 23 12:30:01 2011 +0100
+++ b/st.c Fri Apr 01 09:32:41 2011 +0200
@@ -935,7 +935,7 @@
         switch(escseq.mode) {
         default:
         unknown:
- printf("erresc: unknown csi ");
+ fprintf(stderr, "erresc: unknown csi ");
                 csidump();
                 /* die(""); */
                 break;
@@ -1207,7 +1207,7 @@
                                 term.c.attr.mode &= ~ATTR_GFX;
                                 break;
                         default:
- printf("esc unhandled charset: ESC ( %c\n", ascii);
+ fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
                         }
                         term.esc = 0;
                 } else {
Received on Fri Apr 01 2011 - 09:49:54 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 10:00:08 CEST