[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 03/11: Fix ,profile in pure modules
From: |
Andy Wingo |
Subject: |
[Guile-commits] 03/11: Fix ,profile in pure modules |
Date: |
Sun, 26 Jun 2016 20:58:18 +0000 (UTC) |
wingo pushed a commit to branch stable-2.0
in repository guile.
commit 1d5e60df846a42ba2ba51435e055213d8772e071
Author: Andy Wingo <address@hidden>
Date: Fri Jun 24 09:50:23 2016 +0200
Fix ,profile in pure modules
* libguile/scmsigs.c (close_1): Make the async closure in an environment
where `lambda' has its usual meaning. Fixes #21013.
---
libguile/scmsigs.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libguile/scmsigs.c b/libguile/scmsigs.c
index f404b6a..3b372c7 100644
--- a/libguile/scmsigs.c
+++ b/libguile/scmsigs.c
@@ -109,8 +109,10 @@ static SIGRETTYPE (*orig_handlers[NSIG])(int);
static SCM
close_1 (SCM proc, SCM arg)
{
- return scm_primitive_eval_x (scm_list_3 (scm_sym_lambda, SCM_EOL,
- scm_list_2 (proc, arg)));
+ /* Eval in the root module so that `lambda' has its usual meaning. */
+ return scm_eval (scm_list_3 (scm_sym_lambda, SCM_EOL,
+ scm_list_2 (proc, arg)),
+ scm_the_root_module ());
}
#if SCM_USE_PTHREAD_THREADS
- [Guile-commits] branch stable-2.0 updated (ea352d9 -> 8110246), Andy Wingo, 2016/06/26
- [Guile-commits] 01/11: Fix R6RS fold-left documentation, Andy Wingo, 2016/06/26
- [Guile-commits] 04/11: Fix typo about `keywords' read option, Andy Wingo, 2016/06/26
- [Guile-commits] 08/11: Constant-folding eq? and eqv? uses deduplication, Andy Wingo, 2016/06/26
- [Guile-commits] 02/11: Clarify use of the term "scanning" in the manual, Andy Wingo, 2016/06/26
- [Guile-commits] 09/11: Check for strtod_l before using it., Andy Wingo, 2016/06/26
- [Guile-commits] 10/11: Favor "escape continuation" over "one-shot continuation" in manual, Andy Wingo, 2016/06/26
- [Guile-commits] 07/11: Prevent (@ (ice-9 boot-9) x), Andy Wingo, 2016/06/26
- [Guile-commits] 03/11: Fix ,profile in pure modules,
Andy Wingo <=
- [Guile-commits] 06/11: Fix texinfo->html for @acronym, @itemize, Andy Wingo, 2016/06/26
- [Guile-commits] 05/11: Avoid stifling readline history when looking up options, Andy Wingo, 2016/06/26
- [Guile-commits] 11/11: Add documentation pointer from getopt-long to SRFI-37., Andy Wingo, 2016/06/26