From 6797a444478139dd48c7b106595bbe365534b8c6 Mon Sep 17 00:00:00 2001 From: Ryan Culpepper Date: Tue, 8 Nov 2011 12:39:16 -0800 Subject: [PATCH] Revert "Fixed version of b9bd1db5." This reverts commit 8cbb867811809e2cf133c09e5f98b25df102ac5b. --- collects/racket/sandbox.rkt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/collects/racket/sandbox.rkt b/collects/racket/sandbox.rkt index 1e5745199f..02777130e5 100644 --- a/collects/racket/sandbox.rkt +++ b/collects/racket/sandbox.rkt @@ -878,6 +878,7 @@ (;; create a sandbox context first [current-custodian user-cust] [current-thread-group (make-thread-group)] + [current-namespace (make-evaluation-namespace)] ;; set up the IO context [current-input-port (let ([inp (sandbox-input)]) @@ -916,8 +917,6 @@ [current-logger ((sandbox-make-logger))] [current-inspector ((sandbox-make-inspector))] [current-code-inspector ((sandbox-make-code-inspector))] - ;; Create the namespace under the restricted code inspector - [current-namespace (make-evaluation-namespace)] ;; The code inspector serves two purposes -- making sure that only trusted ;; byte-code is loaded, and avoiding using protected module bindings, like ;; the foreign library's `unsafe!'. We control the first through the path