Messages in this thread | | | Date | Tue, 08 Jun 1999 12:22:43 +0200 | From | Juan Piernas Cánovas <> | Subject | [OT][Sorry][More info]Kernel 2.2.x bug. Standard output not flushed before fork |
| |
Hi all!
I said:
>This is not good, isn't it?. Well, I have a program that >creates one o more process. Before fork, the father >process write some messages to standard output and then it >creates some sons. The problem is sons inherit >father's non flushed standard output, so father's messages >appear two o more times. If I flush standard output before >fork(), all is fine -- that is, father's messages appear >once. > >Sorry, but I haven't got enough kernel hacker skills to fix >it. Sorry. I thought that this was bad because the above problem arose when I redirected standard output to a file. When standard output went to tty, there wasn't any problem.
Sorry again. Best regards. -- Prof. Juan Piernas Cánovas Departamento de Ingeniería y Tecnología de Computadores Facultad de Informática. Universidad de Murcia Campus de Espinardo - 30080 Murcia (SPAIN) Tel.: +34-68-364633 Fax: +34-68-364151 email: piernas@ditec.um.es
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |