clean up a leak (#156652, Morten Welinder) (g_key_file_load_from_fd):

2004-10-28  Ray Strode  <rstrode@redhat.com>

	* glib/gkeyfile.c
	(find_file_in_data_dirs): clean up a leak (#156652,
        Morten Welinder)
        (g_key_file_load_from_fd): propagate fstat() error
        conditions and retry read on EAGAIN (#156647, Morten
        Welinder).  Return error if file is NOT regular, not if
        it is regular (bug introduced from last commited bug
        fix).
        (g_key_file_load_from_data_dirs): allocate enough space
        for the terminating NULL.
This commit is contained in:
Ray Strode
2004-10-28 22:10:06 +00:00
committed by Ray Strode
parent 6b931891bc
commit f72f7be1d3
6 changed files with 88 additions and 26 deletions

View File

@@ -1,3 +1,16 @@
2004-10-28 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c
(find_file_in_data_dirs): clean up a leak (#156652,
Morten Welinder)
(g_key_file_load_from_fd): propagate fstat() error
conditions and retry read on EAGAIN (#156647, Morten
Welinder). Return error if file is NOT regular, not if
it is regular (bug introduced from last commited bug
fix).
(g_key_file_load_from_data_dirs): allocate enough space
for the terminating NULL.
2004-10-28 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c: Don't use S_ISREG macro (#156728,