In tagmanager/src/tm_source_file.c:
> + FILE *fp; > + > + g_return_val_if_fail(tags_array && tags_file, FALSE); > + > + fp = g_fopen(tags_file, "w"); > + if (!fp) > + return FALSE; > + > + fprintf(fp, "# format=tagmanager\n"); > + for (i = 0; i < tags_array->len; i++) > + { > + TMTag *tag = TM_TAG(tags_array->pdata[i]); > + > + write_tag(tag, fp, tm_tag_attr_type_t > + | tm_tag_attr_scope_t | tm_tag_attr_arglist_t | tm_tag_attr_vartype_t > + | tm_tag_attr_pointer_t);
unrelated, but write_tag()
return value should be handled
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub