[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox-cvs
Subject: [BusyBox-cvs] busybox.stable cmdedit.c,1.68,1.69
From: andersen () busybox ! net (Erik Andersen)
Date: 2003-12-23 13:11:29
Message-ID: 20031223201127.D9D4EB40CC () codepoet ! org
[Download RAW message or body]
Update of /var/cvs/busybox.stable
In directory nail:/tmp/cvs-serv6446
Modified Files:
cmdedit.c
Log Message:
Patch from Maciej Witkowiak from back in April:
When using ash on sparcs as interactive shell you don't get any output until
you type four characters (e.g. when typing '12345678' the line is updated after
pressing 4 and 8). This was observed on Linux, both sparc32 and 64, both glibc
and uClibc.
Index: cmdedit.c
===================================================================
RCS file: /var/cvs/busybox.stable/cmdedit.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- cmdedit.c 14 Jan 2003 18:20:02 -0000 1.68
+++ cmdedit.c 23 Dec 2003 20:11:25 -0000 1.69
@@ -1196,7 +1196,7 @@
new_settings.c_lflag &= ~ICANON; /* unbuffered input */
/* Turn off echoing and CTRL-C, so we can trap it */
new_settings.c_lflag &= ~(ECHO | ECHONL | ISIG);
-#ifndef linux
+#if (defined(__sparc__) && defined(linux)) || ! defined(linux)
/* Hmm, in linux c_cc[] not parsed if set ~ICANON */
new_settings.c_cc[VMIN] = 1;
new_settings.c_cc[VTIME] = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic