After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 477658 - Inconsistency between standard and implementation of the interface "g_key_file_get_integer"
Inconsistency between standard and implementation of the interface "g_key_fil...
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-09-17 04:56 UTC by Areg Beketovski
Modified: 2007-12-23 05:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The test case reproducing the bug (573 bytes, text/plain)
2007-09-17 04:57 UTC, Areg Beketovski
Details

Description Areg Beketovski 2007-09-17 04:56:40 UTC
Please describe the problem:
Documentation for the interface g_key_file_get_integer states: "Returns the value associated with key under group_name as an integer. If group_name is NULL, the start_group is used.". But invocation of the interface with the parameter "group_name" = NULL returns with the following error message "GLib-CRITICAL **: g_key_file_get_integer: assertion `group_name != NULL' failed".

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:
The detailed bug description can be found at: 

http://linuxtesting.org/results/report?num=D0056
Comment 1 Areg Beketovski 2007-09-17 04:57:57 UTC
Created attachment 95705 [details]
The test case reproducing the bug
Comment 2 Matthias Clasen 2007-12-23 05:01:06 UTC
2007-12-22  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Remove wrong documentation about start group
        handling.  (#476856, Areg Beketovski)