Contents of /trunk/busybox/patches/busybox-1.22.1-ash.patch
Parent Directory | Revision Log
Revision 2376 -
(show annotations)
(download)
Tue Jan 21 12:07:18 2014 UTC (10 years, 8 months ago) by niro
File size: 423 byte(s)
Tue Jan 21 12:07:18 2014 UTC (10 years, 8 months ago) by niro
File size: 423 byte(s)
-added upstream patches
1 | --- busybox-1.22.1/procps/top.c |
2 | +++ busybox-1.22.1-ash/procps/top.c |
3 | @@ -917,17 +917,12 @@ enum { |
4 | #if ENABLE_FEATURE_USE_TERMIOS |
5 | static unsigned handle_input(unsigned scan_mask, unsigned interval) |
6 | { |
7 | - struct pollfd pfd[1]; |
8 | - |
9 | if (option_mask32 & OPT_EOF) { |
10 | /* EOF on stdin ("top </dev/null") */ |
11 | sleep(interval); |
12 | return scan_mask; |
13 | } |
14 | |
15 | - pfd[0].fd = 0; |
16 | - pfd[0].events = POLLIN; |
17 | - |
18 | while (1) { |
19 | int32_t c; |
20 |