bug-global
[Top][All Lists]
Advanced

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

Re: [feature request] search the place where the header file is included


From: Shigio Yamaguchi
Subject: Re: [feature request] search the place where the header file is included
Date: Tue, 13 May 2003 10:14:42 +0900

> The -t option of global has broken since this was committed.
> 
> >global -tn die
> die     ./libutil/die.c 42
> >global -t die
> ../globalie     ./libutil/die.c 42
> >global -tx die
> die     libutil/die.c   42

I have fixed this bug, I think.
Thank you for your bug report.

diff -c -r1.59 global.c
*** global/global.c     6 May 2003 12:53:07 -0000       1.59
--- global/global.c     13 May 2003 01:13:24 -0000
***************
*** 412,418 ****
                strbuf_puts(pathfilter, " --absolute ");
        else            /* relative path name */
                strbuf_puts(pathfilter, " --relative ");
!       if (xflag)
                strbuf_puts(pathfilter, " --cxref ");
        strbuf_puts(pathfilter, root);
        strbuf_putc(pathfilter, ' ');
--- 412,418 ----
                strbuf_puts(pathfilter, " --absolute ");
        else            /* relative path name */
                strbuf_puts(pathfilter, " --relative ");
!       if (xflag || tflag)
                strbuf_puts(pathfilter, " --cxref ");
        strbuf_puts(pathfilter, root);
        strbuf_putc(pathfilter, ' ');
***************
*** 489,495 ****
                                strbuf_puts(pathfilter, " --absolute ");
                        else            /* relative path name */
                                strbuf_puts(pathfilter, " --relative ");
!                       if (xflag)
                                strbuf_puts(pathfilter, " --cxref ");
                        strbuf_puts(pathfilter, lib);
                        strbuf_putc(pathfilter, ' ');
--- 489,495 ----
                                strbuf_puts(pathfilter, " --absolute ");
                        else            /* relative path name */
                                strbuf_puts(pathfilter, " --relative ");
!                       if (xflag || tflag)
                                strbuf_puts(pathfilter, " --cxref ");
                        strbuf_puts(pathfilter, lib);
                        strbuf_putc(pathfilter, ' ');
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
Spare mail address: <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]