[syslinux:master] chain.c: Always use console_ansi_raw(), not only with DEBUG

syslinux-bot for Michal Soltys soltys at ziu.info
Mon Mar 26 15:03:12 PDT 2012


Commit-ID:  67ad765a2d6e77f8fd54aed60c8554c7505bd762
Gitweb:     http://www.syslinux.org/commit/67ad765a2d6e77f8fd54aed60c8554c7505bd762
Author:     Michal Soltys <soltys at ziu.info>
AuthorDate: Sat, 21 Aug 2010 16:45:22 +0200
Committer:  Michal Soltys <soltys at ziu.info>
CommitDate: Tue, 28 Sep 2010 09:32:52 +0200

chain.c: Always use console_ansi_raw(), not only with DEBUG

Signed-off-by: Michal Soltys <soltys at ziu.info>

---
 com32/chain/chain.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/com32/chain/chain.c b/com32/chain/chain.c
index 4f53336..a01254a 100644
--- a/com32/chain/chain.c
+++ b/com32/chain/chain.c
@@ -23,6 +23,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <console.h>
+#include <consoles.h>
 #include <minmax.h>
 #include <stdbool.h>
 #include <dprintf.h>
@@ -1271,11 +1272,8 @@ int main(int argc, char *argv[])
     struct data_area data[3];
     int ndata = 0, fidx = -1, sidx = -1;
 
-#ifdef DEBUG
     console_ansi_raw();
-#else
-    openconsole(&dev_null_r, &dev_stdcon_w);
-#endif
+/*    openconsole(&dev_null_r, &dev_stdcon_w);*/
 
     /* Prepare and set defaults */
     memset(&opt, 0, sizeof(opt));


More information about the Syslinux-commits mailing list