Merge branch 'log-field-nul-termination-2' into 'main'

Update version in the docs to 2.74.1 for the fixed handling of...

See merge request GNOME/glib!2916
This commit is contained in:
Marco Trevisan 2022-10-10 12:33:57 +00:00
commit 8f2711bf72

View File

@ -1644,8 +1644,8 @@ done_query:
*
* Note that keys that expect UTF-8 strings (specifically `"MESSAGE"` and
* `"GLIB_DOMAIN"`) must be passed as NUL-terminated UTF-8 strings until GLib
* version 2.76 because the default log handler did not consider the length of
* the `GLogField`. Starting with GLib 2.76 this is fixed and
* version 2.74.1 because the default log handler did not consider the length of
* the `GLogField`. Starting with GLib 2.74.1 this is fixed and
* non-NUL-terminated UTF-8 strings can be passed with their correct length.
*
* The @log_domain will be converted into a `GLIB_DOMAIN` field. @log_level will