Репозитории ALT
Группа :: Разработка/Tcl
Пакет: tcl-xml
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0004-FEDORA-xmlGenericError.patch
Скачать
Скачать
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