Hi Shiyao-san,
would you consider checking for alternative local configuration filename:
".gtags.conf"?
Regards,
--
Jacek Migacz
Index: libutil/conf.c
===================================================================
RCS file: /sources/global/global/libutil/conf.c,v
retrieving revision 1.71
diff -u -r1.71 conf.c
--- libutil/conf.c 22 Mar 2016 03:09:15 -0000 1.71
+++ libutil/conf.c 6 Mar 2017 16:59:24 -0000
@@ -240,6 +240,8 @@
*/
else if (rootdir && *rootdir && test("r", makepath(rootdir, "gtags.conf", NULL)))
strbuf_puts(sb, makepath(rootdir, "gtags.conf", NULL));
+ else if (rootdir && *rootdir && test("r", makepath(rootdir, ".gtags.conf", NULL)))
+ strbuf_puts(sb, makepath(rootdir, ".gtags.conf", NULL));
else if ((p = get_home_directory()) && test("r", makepath(p, GTAGSRC, NULL)))
strbuf_puts(sb, makepath(p, GTAGSRC, NULL));
#ifdef __DJGPP__
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global