bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Removing messages which confuse the user (Re: [PATCH] Function palyer pl


From: Shigio YAMAGUCHI
Subject: Removing messages which confuse the user (Re: [PATCH] Function palyer plugin parser)
Date: Fri, 19 Feb 2010 09:40:15 +0900

> > 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 <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]