[LON-CAPA-cvs] cvs: loncom /homework lonmaxima.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Mon, 13 Aug 2007 09:34:35 -0000


albertel		Mon Aug 13 05:34:35 2007 EDT

  Modified files:              
    /loncom/homework	lonmaxima.pm 
  Log:
  - revert 1.18
  - add read to banned words
  
  
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.18 loncom/homework/lonmaxima.pm:1.19
--- loncom/homework/lonmaxima.pm:1.18	Fri Aug  3 16:55:10 2007
+++ loncom/homework/lonmaxima.pm	Mon Aug 13 05:34:35 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines to MAXIMA CAS
 #
-# $Id: lonmaxima.pm,v 1.18 2007/08/03 20:55:10 riegler Exp $
+# $Id: lonmaxima.pm,v 1.19 2007/08/13 09:34:35 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,9 +60,9 @@
 
 sub blacklisted {
     my ($cmd)=@_;
-    foreach my $forbidden ('save','plot','lisp','includ','compil',
+    foreach my $forbidden ('save','load','plot','lisp','includ','compil',
 			   'file','batch','stringout','translat','stout',
-			   'stin','block','system','concat') {
+			   'stin','block','system','concat','read') {
 	if ($cmd=~/$forbidden/s) { return 1; }
     } 
     return 0;