diff options
author | Ray Strode <rstrode@redhat.com> | 2004-10-27 21:22:01 +0000 |
---|---|---|
committer | Ray Strode <halfline@src.gnome.org> | 2004-10-27 21:22:01 +0000 |
commit | 31c3bd53a21335b06deac1564f22a4099bbb74f7 (patch) | |
tree | 7de7d79d25be0d7ad2df02312502f90f88fa6ab0 /ChangeLog.pre-2-10 | |
parent | 24c2d623b567ff4d7ac7733b069fa25913fad6af (diff) |
Move file is regular check to load_from_file to use fstat() instead of
2004-10-27 Ray Strode <rstrode@redhat.com>
* glib/gkeyfile.c:
(g_key_file_load_from_fd),
(g_key_file_load_from_file):
Move file is regular check to load_from_file to use
fstat() instead of race prone g_file_test(). Don't
clear/init until needed. Change error messages to be
more consistent.
(g_key_file_load_from_data),
(g_key_file_load_from_data_dirs),
(g_key_file_parse_data),
(g_key_file_get_value),
(g_key_file_get_string),
(g_key_file_set_string),
(g_key_file_get_string_list),
(g_key_file_set_string_list),
(g_key_file_set_locale_string),
(g_key_file_get_locale_string),
(g_key_file_set_locale_string_list),
(g_key_file_get_boolean),
(g_key_file_set_boolean),
(g_key_file_get_boolean_list),
(g_key_file_set_boolean_list),
(g_key_file_get_integer),
(g_key_file_get_integer_list),
(g_key_file_set_integer_list),
(g_key_file_remove_key):
Add more g_return_*if_fail checks for public functions.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r-- | ChangeLog.pre-2-10 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ea4253ab4..222165ab8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,33 @@ +2004-10-27 Ray Strode <rstrode@redhat.com> + + * glib/gkeyfile.c: + (g_key_file_load_from_fd), + (g_key_file_load_from_file): + Move file is regular check to load_from_file to use + fstat() instead of race prone g_file_test(). Don't + clear/init until needed. Change error messages to be + more consistent. + (g_key_file_load_from_data), + (g_key_file_load_from_data_dirs), + (g_key_file_parse_data), + (g_key_file_get_value), + (g_key_file_get_string), + (g_key_file_set_string), + (g_key_file_get_string_list), + (g_key_file_set_string_list), + (g_key_file_set_locale_string), + (g_key_file_get_locale_string), + (g_key_file_set_locale_string_list), + (g_key_file_get_boolean), + (g_key_file_set_boolean), + (g_key_file_get_boolean_list), + (g_key_file_set_boolean_list), + (g_key_file_get_integer), + (g_key_file_get_integer_list), + (g_key_file_set_integer_list), + (g_key_file_remove_key): + Add more g_return_*if_fail checks for public functions. + 2004-10-27 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version. |