https://bugs.kde.org/show_bug.cgi?id=526648
--- Comment #2 from Martin Cermak <[email protected]> --- Created attachment 197301 --> https://bugs.kde.org/attachment.cgi?id=197301&action=edit proposed patch Reproduced with the following dummy test program: $ cat test.c #include <stdio.h> #include <pty.h> #include <unistd.h> #include <sys/wait.h> int main() { int masterFd = 0; pid_t pid = forkpty(&masterFd, NULL, NULL, NULL); if(pid > 0) { printf("%d\n", masterFd); close(masterFd); waitpid(pid, NULL, 0); } else if (pid == 0) { _exit(0); } return 0; } $ The attached patch seems to address the issue for me. -- You are receiving this mail because: You are watching all bug changes.
