changeset 1427:6c85cda8cfce

Fix for less from Denys.
author Rob Landley <rob@landley.net>
date Tue, 16 Aug 2011 13:48:35 -0500
parents 14739f3ae2a5
children f5ba63db222d
files sources/patches/busybox-1.19.0-less.patch
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/busybox-1.19.0-less.patch	Tue Aug 16 13:48:35 2011 -0500
@@ -0,0 +1,12 @@
+--- busybox-1.19.0/miscutils/less.c
++++ busybox-1.19.0-less/miscutils/less.c
+@@ -990,7 +990,8 @@ static int64_t less_getch(int pos)
+ 	 */
+ 	if (key >= 0 && key < ' ' && key != 0x0d && key != 8)
+ 		goto again;
+-	return key;
++
++	return key64;
+ }
+ 
+ static char* less_gets(int sz)