[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/08: Fix sandbox
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/08: Fix sandbox |
Date: |
Wed, 3 Jan 2018 15:31:23 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit 454f2eeb97bf3f28e3979615344ff845c4c91568
Author: Andy Wingo <address@hidden>
Date: Wed Jan 3 16:26:10 2018 +0100
Fix sandbox
* module/ice-9/sandbox.scm (eval-in-sandbox): Remove use of
deprecated-and-now-removed allow-legacy-syntax-objects? parameter.
---
module/ice-9/sandbox.scm | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/module/ice-9/sandbox.scm b/module/ice-9/sandbox.scm
index d25dc2d..bbb8119 100644
--- a/module/ice-9/sandbox.scm
+++ b/module/ice-9/sandbox.scm
@@ -1,6 +1,6 @@
;;; Sandboxed evaluation of Scheme code
-;;; Copyright (C) 2017 Free Software Foundation, Inc.
+;;; Copyright (C) 2017, 2018 Free Software Foundation, Inc.
;;;; This library is free software; you can redistribute it and/or
;;;; modify it under the terms of the GNU Lesser General Public
@@ -260,10 +260,7 @@ allocation limit is exceeded, an exception will be thrown
to the
(call-with-time-and-allocation-limits
time-limit allocation-limit
(lambda ()
- ;; Prevent the expression from forging syntax objects. See "Syntax
- ;; Transformer Helpers" in the manual.
- (parameterize ((allow-legacy-syntax-objects? #f))
- (eval exp module)))))
+ (eval exp module))))
(lambda () (when sever-module? (sever-module! module)))))
- [Guile-commits] branch master updated (108ade6 -> 118f516), Andy Wingo, 2018/01/03
- [Guile-commits] 05/08: Fix add-prompt-control-flow-edges for terms with no continuation, Andy Wingo, 2018/01/03
- [Guile-commits] 02/08: Fix sandbox,
Andy Wingo <=
- [Guile-commits] 07/08: Simplify prompt slot allocation now that bailouts can't continue, Andy Wingo, 2018/01/03
- [Guile-commits] 03/08: Variable renaming in type-fold.scm, Andy Wingo, 2018/01/03
- [Guile-commits] 08/08: $primcall always continues to $kargs, Andy Wingo, 2018/01/03
- [Guile-commits] 06/08: $throw is a new kind of CPS term, Andy Wingo, 2018/01/03
- [Guile-commits] 04/08: $prompt is now its own kind of CPS term., Andy Wingo, 2018/01/03
- [Guile-commits] 01/08: $branch is now a distinct CPS term type, Andy Wingo, 2018/01/03