[LON-CAPA-cvs] cvs: loncom /xml run.pm
raeburn
raeburn at source.lon-capa.org
Mon Jun 22 22:52:20 EDT 2015
raeburn Tue Jun 23 02:52:20 2015 EDT
Modified files:
/loncom/xml run.pm
Log:
- perl 5.10 and newer include a var named ^RE_TRIE_MAXBUF, where ^R is the
control character \022. (default value is 65536).
- Hide this from vars gathered for ScriptVars display to eliminate error log
messages of the type: "Missing operator before E_TRIE_MAXBUF?",
logged when a Script block is parsed and the target is answer.
Index: loncom/xml/run.pm
diff -u loncom/xml/run.pm:1.63 loncom/xml/run.pm:1.64
--- loncom/xml/run.pm:1.63 Mon Dec 15 17:45:16 2014
+++ loncom/xml/run.pm Tue Jun 23 02:52:20 2015
@@ -1,6 +1,6 @@
package Apache::run;
#
-# $Id: run.pm,v 1.63 2014/12/15 17:45:16 raeburn Exp $
+# $Id: run.pm,v 1.64 2015/06/23 02:52:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -164,7 +164,7 @@
my ($target,$safeeval)=@_;
my $dump='';
foreach my $symname (sort(keys(%{$safeeval->varglob('main::')}))) {
- if (($symname!~ /^(INC|SIG)/) && ($symname!~/\027/) &&
+ if (($symname!~ /^(INC|SIG)/) && ($symname!~/\027/) && ($symname!~/\022/) &&
($symname!~/^\_/) && ($symname!~/\:$/)) {
my $line;
if ($safeeval->reval('defined($'.$symname.')')) {
More information about the LON-CAPA-cvs
mailing list