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

raeburn raeburn at source.lon-capa.org
Fri Feb 17 10:31:05 EST 2012


raeburn		Fri Feb 17 15:31:05 2012 EDT

  Modified files:              
    /loncom/homework	lonmaxima.pm 
  Log:
  - Bug 6561.
  
  
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.29 loncom/homework/lonmaxima.pm:1.30
--- loncom/homework/lonmaxima.pm:1.29	Mon Jun 14 11:34:18 2010
+++ loncom/homework/lonmaxima.pm	Fri Feb 17 15:31:04 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines to MAXIMA CAS
 #
-# $Id: lonmaxima.pm,v 1.29 2010/06/14 11:34:18 www Exp $
+# $Id: lonmaxima.pm,v 1.30 2012/02/17 15:31:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -51,7 +51,7 @@
 	print $socket &escape($cmd)."\n";
         my $reply=<$socket>;
         chomp($reply);
-        if ($reply=~/^Incorrect/) { $reply='Error: '.$reply; }
+        if ($reply=~/^Incorrect/i) { $reply='Error: '.$reply; }
         return &unescape($reply);
     } else {
         return 'Error: no connection.';




More information about the LON-CAPA-cvs mailing list