Sven Neumann aec8923fa6 delay memory allocation until after the first read. Saves a bunch of
2005-03-10  Sven Neumann  <sven@gimp.org>

	* glib/gfileutils.c (get_contents_stdio): delay memory allocation
	until after the first read. Saves a bunch of reallocs. Also
	increased the buffer size to 4096 bytes. (bug #165954)

	* tests/file-test.c (test_get_contents): added a (very basic) test
	for g_file_get_contents().
2005-03-10 12:56:01 +00:00
..
2002-10-15 22:16:57 +00:00
2002-10-15 22:16:57 +00:00
2005-02-08 15:14:31 +00:00
2001-11-26 19:08:46 +00:00
2005-02-08 15:14:31 +00:00
2004-04-15 13:58:29 +00:00
2005-01-24 17:35:44 +00:00
2002-10-15 22:16:57 +00:00
2002-10-15 22:16:57 +00:00
2004-10-22 19:51:29 +00:00