some minimum versions in the symbols file are not updated

Bug #1885287 reported by Zhouyang Jia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Hi,

The signature of the following symbols changed from glib-2.39.1 to glib-2.39.2:

//glib-2.39.1/glib/ghash.h
void g_hash_table_insert(...);
void g_hash_table_replace(...);
void g_hash_table_add(...);

//glib-2.39.2/glib/ghash.h
gboolean g_hash_table_insert(...);
gboolean g_hash_table_replace(...);
gboolean g_hash_table_add(...);

However, the minimum versions of these symbols in the symbols file are all 2.12.0.

The minimum versions are supposed to be 2.39.2, or a client using a gboolean return value may be linked to an old version returning void.

Best,
Zhouyang

Tags: file symbols
Revision history for this message
Zhouyang Jia (zhouyang09) wrote :

Also, g_utf8_make_valid is introduced in 2.51.0, but changed from 2.51.4 to 2.51.5:

//glib-2.51.4/glib/gunicode.h
gchar *g_utf8_make_valid(const gchar *str);

//glib-2.51.5/glib/gunicode.h
gchar *g_utf8_make_valid(const gchar *str, gssize len);

The minimum version should be 2.51.5, instead of 2.51.0 in the symbols file.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, indeed the tools don't check for signature changes

Changed in glib2.0 (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

note that the package is in sync with Debian so it's worth reporting there

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.