> When using compact format, gtop->root is always overwritten
> by the 2nd argument of gtags_open.
> 
>   322         if (gtop->format & GTAGS_COMPACT) {
>   323                 assert(root != NULL);
>   324                 strlimcpy(gtop->root, root, sizeof(gtop->root));
> 
> The thing which I want to know is when an empty string("") 
> is specified by the 2nd argument of gtags_open.
> If it never happen, this check will be meaningless.

Though it is the usual, I don't know the original intension without reading
the code too. I'm reflecting not writing the comment in this part neatly.
By the way, if it works well, we need not necessarily fix it?
--
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

Reply via email to