create core package
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- procps-3.2.5/top.c
|
||||
+++ procps-3.2.5/top.c
|
||||
@@ -3285,7 +3285,7 @@
|
||||
if (rc <= 0) {
|
||||
// EOF is pretty much a "can't happen" except for a kernel bug.
|
||||
// We should quickly die via SIGHUP, and thus not spin here.
|
||||
- // if (rc == 0) end_pgm(0); /* EOF from terminal */
|
||||
+ if (rc == 0) end_pgm(0); /* EOF from terminal */
|
||||
fcntl(STDIN_FILENO, F_SETFL, file_flags);
|
||||
select(1, &fs, NULL, NULL, &tv);
|
||||
fcntl(STDIN_FILENO, F_SETFL, O_NONBLOCK|file_flags);
|
||||
Reference in New Issue
Block a user