Hi.
On Fri, 19 Feb 2010 09:40:15 +0900, Shigio YAMAGUCHI wrote...
> > > 2. How about not making empty GRTAGS and GSYMS?
> > 
> > There is a case where this causes a problem. 
> 
> I made a patch to remove some messages which might confuse the user.
> 

You are right. This message should not be output when there is no tag to add. 
Please make same change in updatetags_using_builtin_parser(), and commit to the 
repository. 

> *** gtags.c-  Fri Feb 19 09:21:09 2010
> --- gtags.c   Fri Feb 19 09:16:49 2010
> ***************
> *** 1207,1213 ****
>       if (vflag)
>               fprintf(stderr, "[%s] Creating '%s' and '%s'.\n", now(), 
> dbname(GRTAGS), dbname(GSYMS));
>       data.gtop[GSYMS] = gtags_open(dbpath, root, GSYMS, GTAGS_CREATE, 
> openflags);
> !     if (vflag) {
>               if (file_list)
>                       find_open_filelist(file_list, root);
>               else
> --- 1207,1213 ----
>       if (vflag)
>               fprintf(stderr, "[%s] Creating '%s' and '%s'.\n", now(), 
> dbname(GRTAGS), dbname(GSYMS));
>       data.gtop[GSYMS] = gtags_open(dbpath, root, GSYMS, GTAGS_CREATE, 
> openflags);
> !     if (ftell(tmp) > 0 && vflag) {
>               if (file_list)
>                       find_open_filelist(file_list, root);
>               else
> --
> Shigio YAMAGUCHI <[email protected]>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

----
Hideki IWAMOTO  [email protected]


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

Reply via email to