HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd61f2e
)
fix list validation bug in @abort
author
Andy Wingo
<wingo@pobox.com>
Thu, 28 Jul 2011 16:17:45 +0000
(18:17 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Thu, 28 Jul 2011 16:17:45 +0000
(18:17 +0200)
* libguile/control.c (scm_at_abort): Fix to ensure that we store the
return of scm_ilength in a signed integer, even if later we copy it to
an unsigned. See
http://article.gmane.org/gmane.lisp.guile.devel/12685.
libguile/control.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/control.c
b/libguile/control.c
index
9121d17
..
661de8f
100644
(file)
--- a/
libguile/control.c
+++ b/
libguile/control.c
@@
-248,7
+248,8
@@
SCM_DEFINE (scm_at_abort, "@abort", 2, 0, 0, (SCM tag, SCM args),
#define FUNC_NAME s_scm_at_abort
{
SCM *argv;
- size_t i, n;
+ size_t i;
+ long n;
SCM_VALIDATE_LIST_COPYLEN (SCM_ARG2, args, n);
argv = alloca (sizeof (SCM)*n);