mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: allow comments with #
This commit is contained in:
@ -166,7 +166,8 @@ sysprof_categories_new (void)
|
||||
lineno++;
|
||||
g_strstrip (line);
|
||||
|
||||
if (line[0] == 0)
|
||||
/* # starts comment line */
|
||||
if (line[0] == 0 || line[0] == '#')
|
||||
continue;
|
||||
|
||||
/* Group lines look like "binary nick:\n" */
|
||||
|
||||
Reference in New Issue
Block a user