summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-09-18 17:09:40 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-09-18 17:09:40 (GMT)
commitfd60b58b7693b29b86f432b2fe33280f811609e8 (patch)
tree6cd9a766f0cd83c1258f55013ff18aeab327897d
parent1df4340a72eb32da1c55aed0b89c8ccedb4fd178 (diff)
downloadblt-fd60b58b7693b29b86f432b2fe33280f811609e8.zip
blt-fd60b58b7693b29b86f432b2fe33280f811609e8.tar.gz
blt-fd60b58b7693b29b86f432b2fe33280f811609e8.tar.bz2
Squashed 'tclxml/' changes from 9671e822..a491aab8
a491aab8 Merge pull request #3 from olebole/Werror-format 190f74d1 Merge pull request #2 from olebole/STUB_LIB_FILE 1bd51511 fix -Werror=format-security 07110bd4 Add PKG_STUB_LIB_FILE to targets git-subtree-dir: tclxml git-subtree-split: a491aab81813474d3b0b4617b7102fac10644f98
-rw-r--r--Makefile.in2
-rw-r--r--tclxslt-libxslt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d004e32..a631f33 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -60,7 +60,7 @@ PKG_HEADERS = @PKG_HEADERS@
PKG_LIB_FILE = @PKG_LIB_FILE@
PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@
-lib_BINARIES = $(PKG_LIB_FILE)
+lib_BINARIES = $(PKG_LIB_FILE) $(PKG_STUB_LIB_FILE)
BINARIES = $(lib_BINARIES)
SHELL = @SHELL@
diff --git a/tclxslt-libxslt.c b/tclxslt-libxslt.c
index 9155f0e..73e0f61 100644
--- a/tclxslt-libxslt.c
+++ b/tclxslt-libxslt.c
@@ -1507,7 +1507,7 @@ TclXSLTExtFunction(xpathCtxt, nargs)
valuePush(xpathCtxt, obj);
} else {
xmlGenericError(xmlGenericErrorContext,
- Tcl_GetStringFromObj(resultPtr, NULL));
+ "%s", Tcl_GetStringFromObj(resultPtr, NULL));
/* Need to define a new error code - this is the closest in meaning */
xpathCtxt->error = XPATH_UNKNOWN_FUNC_ERROR;
}