Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37495260
en ru br
ALT Linux repositórios
S:4.1.1-alt7
5.0: 1.3.36-alt2
4.1: 1.3.31-alt2
4.0: 1.3.31-alt1
3.0: 1.3.24-alt2

Group :: Desenvolvimento/C
RPM: swig

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0001-guile-first-arg-to-scm_error-should-be-symbol-not-st.patch
Download


From 310d524062b544c538977c5e33548889fbb85926 Mon Sep 17 00:00:00 2001
From: Sergey Bolshakov <sbolshakov@altlinux.org>
Date: Wed, 26 Apr 2017 13:40:47 +0300
Subject: [PATCH 1/2] guile: first arg to scm_error should be symbol, not
 string
---
 Lib/exception.i | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Lib/exception.i b/Lib/exception.i
index da0d56cdd..534f1d6f5 100644
--- a/Lib/exception.i
+++ b/Lib/exception.i
@@ -31,7 +31,7 @@
   SWIGINTERN void SWIG_exception_ (int code, const char *msg,
                                const char *subr) {
 #define ERROR(scmerr)					\
-	scm_error(scm_from_locale_string((char *) (scmerr)),	\
+	scm_error(scm_from_locale_symbol((char *) (scmerr)),	\
 		  (char *) subr, (char *) msg,		\
 		  SCM_EOL, SCM_BOOL_F)
 #define MAP(swigerr, scmerr)			\
-- 
2.33.8
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009