------- Comment #8 from fxcoudert at gcc dot gnu dot org 2006-09-20 07:50 ------- (In reply to comment #7) > If you stll think that this is a libgfortran bug (I don't) > you could add > setvbuf(stdout, NULL, _IOLBF, 0); > to unix.c:output_stream() so that stdout always is line-buffered even when > !isatty(fileno(stdout))
Indeed, I think the bug is in the user's code, but I think there's no serious drawback to the setvbuf workaround you mention. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2006-06-12 16:30:13 |2006-09-20 07:50:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27046