Skip to content

New g_str_get_substr as g_strstr_len alternative

This is linked to #159 (closed)

g_strstr_len stops the search if haystack parameter contains a nul terminator before @haystack_len bytes are read.

A new function g_str_get_substr is introduced to prevent this behavior.

Merge request reports