Annotation of /trunk/busybox/patches/busybox-1.19.0-less.patch
Parent Directory | Revision Log
Revision 1519 -
(hide annotations)
(download)
Mon Sep 5 21:52:12 2011 UTC (13 years ago) by niro
File size: 278 byte(s)
Mon Sep 5 21:52:12 2011 UTC (13 years ago) by niro
File size: 278 byte(s)
-added upstream patches
1 | niro | 1519 | --- busybox-1.19.0/miscutils/less.c |
2 | +++ busybox-1.19.0-less/miscutils/less.c | ||
3 | @@ -990,7 +990,8 @@ static int64_t less_getch(int pos) | ||
4 | */ | ||
5 | if (key >= 0 && key < ' ' && key != 0x0d && key != 8) | ||
6 | goto again; | ||
7 | - return key; | ||
8 | + | ||
9 | + return key64; | ||
10 | } | ||
11 | |||
12 | static char* less_gets(int sz) |