CVSROOT:        /cvs/gnome
Module name:    glib
Changes by:     neo     05/03/10 07:56:01

Modified files:
        .              : ChangeLog 
        glib           : gfileutils.c 
        tests          : .cvsignore file-test.c 

Log message:
2005-03-10  Sven Neumann  <[EMAIL PROTECTED]>

* 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 
[http://bugzilla.gnome.org/show_bug.cgi?id=165954])

* tests/file-test.c (test_get_contents): added a (very basic) test
for g_file_get_contents().

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glib&who=neo&date=explicit&mindate=2005-03-10%2007:55&maxdate=2005-03-10%2007:57

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to