aboutsummaryrefslogtreecommitdiffstats
path: root/main/ctags/error-format.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-01 14:57:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-01 14:58:21 +0000
commit7a7e5e040657529858285d6e9605056c71a70a81 (patch)
treef18536e44b025028b4f0116e0d2b059a17ff1e65 /main/ctags/error-format.patch
parentae31d1d06a372c526c1a1c5af0eb9e6c95ede893 (diff)
main/ctags: fix install location
also fix format string error ref #2446
Diffstat (limited to 'main/ctags/error-format.patch')
-rw-r--r--main/ctags/error-format.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/ctags/error-format.patch b/main/ctags/error-format.patch
new file mode 100644
index 00000000000..61cf7a9d380
--- /dev/null
+++ b/main/ctags/error-format.patch
@@ -0,0 +1,13 @@
+diff --git a/lregex.c b/lregex.c
+index 59f5df6..f76aac0 100644
+--- a/lregex.c
++++ b/lregex.c
+@@ -408,7 +408,7 @@ static void processLanguageRegex (const langType language,
+ const char* regexfile = parameter + 1;
+ FILE* const fp = fopen (regexfile, "r");
+ if (fp == NULL)
+- error (WARNING | PERROR, regexfile);
++ error (WARNING | PERROR, "%s", regexfile);
+ else
+ {
+ vString* const regex = vStringNew ();