view sources/patches/busybox-1.19.0-less.patch @ 1427:6c85cda8cfce

Fix for less from Denys.
author Rob Landley <rob@landley.net>
date Tue, 16 Aug 2011 13:48:35 -0500
parents
children
line wrap: on
line source

--- 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)