﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
290	Program termination does not flush output buffers	Yuri Dario		"Output buffers are not flushed if file handle is not closed before program end.
Sample testcase:

{{{
#include <stdio.h>
#include <string.h>

void main(void)
{
	char* buf = ""this is my test buffer"";

	FILE *fo = fopen( ""test"", ""w"");
	fwrite( buf, 1, strlen( buf), fo);
}
}}}

leaves a 0-byte file on disk. Adding flush or fclose restores proper behaviour.
"	defect	closed	normal	libc-0.6.6	gcc	0.6.5	normal	fixed		
