Re: ./configure'd universal-ctags name not being used to tag source

Shigio YAMAGUCHI <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYq1mYV-nTrykF1AGCf8Saz3B4zSzqEh=paT-3+OWNj4tw@mail.gmail.com>
Hi,
I have committed the fix.
The next release will include it.
Thank you!

Regards,
Shigio

2016-06-03 5:47 GMT+09:00 Panariti, David <[email protected]>:

> Same goes for exuberant-ctags.
>
>
>
> In the non-Windwoes version of start_ctags(), argv[0] is never changed
> from the default of “ctags”.
>
> This works just fine if you’ve installed uctags as ctags.
>
>
>
> Here’s a quick patch. I did it the easiest way.  Since ctagscom is global,
> I didn’t bother saving and restoring the original value, but that may be
> the better way to do it.
>
> Here’s the patch (and attached). Apologies if it’s not formatted
> correctly, I don’t have the opportunity to submit patches very often.
>
>
>
> ======================================================================
>
>
>
>     I, David Panariti, hereby disclaim all copyright interest in my
>
>     changes and enhancements to GLOBAL (herein called
>
>     the "Program").
>
>
>
>     I affirm that I have no other intellectual property interest that
>
>     would undermine this release, or the use of the Program, and will
>
>     do nothing to undermine it in the future.  I represent that the
>
>     changes and enhancements are my own and not a copy of someone
>
>     else's work.
>
>
>
>     David Panariti
>
>     02-June-2016
>
>
>
> ======================================================================
>
>
>
>
>
> Regards,
>
> davep
>
> [email protected]
>
>
>
> ========================================================================
>
> --- exuberant-ctags.c 2016-03-27 00:04:42.000000000 -0400
>
> +++
> /home/dpanarit/local/build/global-6.5.4/plugin-factory/exuberant-ctags.c
> 2016-06-02 16:31:42.440670746 -0400
>
> @@ -195,11 +195,11 @@
>
> {
>
>     int opipe[2], ipipe[2];
>
>     char *path = param->getconf("ctagscom");
>
> -
>
>     if (path && strlen(path) > 0 && strcmp(path, "no") != 0)
>
>           ctagscom = path;
>
>     if (!ctagscom || !strlen(ctagscom) || !strcmp(ctagscom, "no"))
>
>          param->die(ctagsnotfound);
>
> +    argv[0] = ctagscom;
>
>     argv[1] = malloc(sizeof(LANGMAP_OPTION) + strlen(param->langmap));
>
>     if (argv[1] == NULL)
>
>           param->die("short of memory.");
>
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global
>
>


-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.