Details

[Home]

Issue of the Standard # D0059

Brief

LSB incorrectly describes usage of the NULL value of the "group_name" parameter of the "Key-value file parser" interfaces

Detailed Description

The glib-2.6.2 documentation, referenced from the LSB 3.1, for the interfaces

  1. g_key_file_get_boolean
  2. g_key_file_get_locale_string_list
  3. g_key_file_get_integer_list
  4. g_key_file_set_boolean
  5. g_key_file_has_key
  6. g_key_file_set_integer
  7. g_key_file_set_locale_string_list
  8. g_key_file_set_integer_list
contains the following sentence: "If group_name is NULL, the start_group is used.".

In the subsequent versions of glib (vv.2.6.4 - 2.6.6) this sentence was removed.

Invocation of the interface with the parameter "group_name" = NULL returns with the error message of the following kind: "GLib-CRITICAL **: g_key_file_set_boolean_list: assertion `group_name != NULL' failed" both for old and new versions of glib library.

Problem location(s) in the standard

Linux Standard Base Desktop Specification 3.1, Chapter 12. Libraries, 12.2 Interfaces for libglib-2.0; http://www.gtk.org/api/2.6/glib/glib-Key-value-file-parser.html

Accepted

LSB Bugzilla, 1722

Status

Fixed in LSB 4.0

[Home]