[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2012-11-21 23:13:31
Message-ID: cvsraeburn1353539611 () cvsserver
[Download RAW message or body]
raeburn Wed Nov 21 23:13:31 2012 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- Bug 6629.
- Reverse one change in rev. 1.511, so Math::Complex::ln is available in
safe space for perl 5.10.0 and older.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.532 loncom/xml/lonxml.pm:1.533
--- loncom/xml/lonxml.pm:1.532 Thu Jul 5 19:24:02 2012
+++ loncom/xml/lonxml.pm Wed Nov 21 23:13:30 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.532 2012/07/05 19:24:02 raeburn Exp $
+# $Id: lonxml.pm,v 1.533 2012/11/21 23:13:30 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -649,9 +649,9 @@
sub init_safespace {
my ($target,$safeeval,$safehole,$safeinit) = @_;
- $safeeval->reval('use Math::Complex;');
$safeeval->reval('use LaTeX::Table;');
$safeeval->deny_only(':dangerous');
+ $safeeval->reval('use Math::Complex;');
$safeeval->permit_only(":default");
$safeeval->permit("entereval");
$safeeval->permit(":base_math");
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic