Don't interpret leading zeros as octal. The specification requires %f
authorMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jan 2005 17:16:47 +0000 (17:16 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 20 Jan 2005 17:16:47 +0000 (17:16 +0000)
commit3db329a61368ba90c1422e2b0e6197a103130287
tree526856e475fd4a85e90f2d026d5dd223f7e87f7c
parent9775edea89a7ad65f989040ac066f6989fdbbd9e
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.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gkeyfile.c
tests/keyfile-test.c