[Bug c/37785] New: printf + sleep = problems with output buffer

2008-10-09 Thread alexcastan at gmail dot com
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: alexcastan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37785

[Bug c/37785] printf without '\n' + sleep = problems with output buffer

2008-10-09 Thread alexcastan at gmail dot com
--- Comment #3 from alexcastan at gmail dot com 2008-10-09 20:24 --- Then the second problem it is also the normal behavior. The fork() makes child inherit the unprinted parent buffer, then two similar buffers get print later. 10 9 8 7 6 5 4 3 2 1 0 I'm the child 10 9 8 7 6 5 4 3