@techee commented on this pull request.
{
- gchar buf[BUFSIZ]; - gchar *p, *tab; + tagEntry entry; + tagFile *f = tagsOpen(tags_file, NULL); + const gchar *lang_kinds = tm_ctags_get_lang_kinds(lang); + GPtrArray *unknown_fields = g_ptr_array_new_full(10, NULL);
The fundamental reason was that I never used GArray ;-). I've updated the code with your suggestion.