Messages in this thread | | | Date | Mon, 07 Jun 1999 21:17:20 +0200 | From | Juan Piernas Cánovas <> | Subject | Kernel 2.2.x bug. Standard output not flushed before fork |
| |
Hi all! 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.
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/
| |