> 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, >op->path[2]); > 765 else > 766 snprintf(path, sizeof(path), "%s", >op->path[ 2]); > > gtop->root is an array. Therefore, (gtop->root != 0) is always true. > What is your intention here?
I believe it is a bug. How about using gtop->root[0] as a flag? -- Shigio YAMAGUCHI <[EMAIL PROTECTED]> - Tama Communications Corporation PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3 _______________________________________________ Bug-global mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-global
