Just a minor patch this time, to work with idutils 3.2.99 from ezwinports.
It also uses "invalid" rather than "illegal", as per GNU standards.
As -S has an option, shouldn't it have its own section? For example:
global [-adGilnqrsStTvx][-e] pattern
should be:
global [-adGilnqrstTvx][-S dir][-e] pattern
--
Jason.
diff -pur global-6.2.11/gtags/gtags.c global-6.2-11/gtags/gtags.c
--- global-6.2.11/gtags/gtags.c 2014-03-12 12:49:34 +1000
+++ global-6.2-11/gtags/gtags.c 2014-03-12 22:46:52 +1000
@@ -356,11 +356,15 @@ main(int argc, char **argv)
die("mkid cannot executed.");
p = strrchr(strbuf_value(sb), ' ');
if (p == NULL)
- die("illegal version string of mkid: %s",
strbuf_value(sb));
- switch (check_version(p + 1, REQUIRED_MKID_VERSION)) {
+ die("invalid version string of mkid: %s",
strbuf_value(sb));
+ switch (check_version(p + 1, REQUIRED_MKID_VERSION)
+#ifdef _WIN32
+ || strcmp(p + 1, "3.2.99") == 0
+#endif
+ ) {
case 1: break; /* OK */
case 0: die("mkid version %s or later is required.",
REQUIRED_MKID_VERSION);
- default: die("illegal version string of mkid: %s",
strbuf_value(sb));
+ default: die("invalid version string of mkid: %s",
strbuf_value(sb));
}
}
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global