Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37713729
en ru br
ALT Linux repos
S:3.2-alt3
5.0: 3.1-alt4
4.1: 3.1-alt4
4.0: 3.1-alt2.M40.1
3.0: 3.0-alt2

Group :: Development/Tcl
RPM: tcl-xml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0004-FEDORA-xmlGenericError.patch
Download


From 07b33e7a7ba13bc9ca4a343c8a20f2f8a8194dfd Mon Sep 17 00:00:00 2001
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
Date: Tue, 26 Nov 2019 20:14:51 +0300
Subject: [PATCH 4/4] FEDORA xmlGenericError
---
 tclxml/tclxslt-libxslt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tclxml/tclxslt-libxslt.c b/tclxml/tclxslt-libxslt.c
index d943bf7..1373d28 100644
--- a/tclxml/tclxslt-libxslt.c
+++ b/tclxml/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;
   }
-- 
2.24.0
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin