Please explain the following portions of gtagsop.c.

libutil/gtagop.c
  762                 if (gtop->root)
  763                         snprintf(path, sizeof(path),
  764                                 "%s/%s", gtop->root, &gtop->path[2]);
  765                 else
  766                         snprintf(path, sizeof(path), "%s", 
&gtop->path[2]);

gtop->root is an array. Therefore, (gtop->root != 0) is always true.
What is your intention here?




----
Hideki IWAMOTO  [EMAIL PROTECTED]


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to