148
148
gboolean format_pipe = FALSE;
150
152
if (NULL == (fp = g_fopen(tags_file, "r")))
154
154
if (NULL == theWorkspace->global_tags)
155
155
theWorkspace->global_tags = g_ptr_array_new();
156
156
if ((NULL == fgets((gchar*) buf, BUFSIZ, fp)) || ('\0' == *buf))
157
159
return FALSE; /* early out on error */
159
162
{ /* We read the first line for the format specification. */
160
163
if (buf[0] == '#' && strstr((gchar*) buf, "format=pipe") != NULL)