Don't interpret leading zeros as octal. The specification requires %f

2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_parse_value_as_integer): Don't
	interpret leading zeros as octal. The specification requires
	%f parsing, and %f doesn't allow octal.

	* tests/keyfile-test.c: Add some more tests.
This commit is contained in:
Matthias Clasen
2005-01-20 17:16:47 +00:00
committed by Matthias Clasen
parent 9775edea89
commit 3db329a613
6 changed files with 82 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
2005-01-20 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_parse_value_as_integer): Don't
interpret leading zeros as octal. The specification requires
%f parsing, and %f doesn't allow octal.
* tests/keyfile-test.c: Add some more tests.
* glib/gkeyfile.c (g_key_file_get_keys): Return keys in