> > 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.
% gtags -v
...
[Fri Feb 19 09:27:26 JST 2010] Creating 'GRTAGS' and 'GSYMS'.
[1/218] adding tags of htags-refkit/htags_path2url.c -
[2/218] adding tags of global/global.c ^
[3/218] adding tags of global/const.h |
[4/218] adding tags of gozilla/gozilla.c | removed
[5/218] adding tags of gozilla/const.h |
... v
[218/218] adding tags of config.h -
[Fri Feb 19 09:27:26 JST 2010] Done.
*** 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
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global