diff --git a/src/grep_proc.cc b/src/grep_proc.cc index cba548e1..8e4fd50e 100644 --- a/src/grep_proc.cc +++ b/src/grep_proc.cc @@ -159,7 +159,6 @@ void grep_proc::child_loop(void) char outbuf[BUFSIZ * 2]; string line_value; - *stdout = *(fdopen(STDOUT_FILENO, "w")); /* Make sure buffering is on, not sure of the state in the parent. */ if (setvbuf(stdout, outbuf, _IOFBF, BUFSIZ * 2) < 0) { perror("setvbuf"); diff --git a/src/lnav.cc b/src/lnav.cc index 34d229ac..5c3cb288 100644 --- a/src/lnav.cc +++ b/src/lnav.cc @@ -1886,7 +1886,7 @@ static void handle_key(int ch) { } switch (ch) { - case CEOF: + case CTRL('d'): case KEY_RESIZE: break; default: @@ -2416,7 +2416,7 @@ static void looper(void) } switch (ch) { - case CEOF: + case CTRL('d'): case KEY_RESIZE: break;