[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /lonnet/perl lonnet.pm

raeburn raeburn@source.lon-capa.org
Wed, 31 Dec 2008 18:26:54 -0000


raeburn		Wed Dec 31 18:26:54 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Backport 1.981.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.976.2.3 loncom/lonnet/perl/lonnet.pm:1.976.2.4
--- loncom/lonnet/perl/lonnet.pm:1.976.2.3	Sun Dec 21 15:26:50 2008
+++ loncom/lonnet/perl/lonnet.pm	Wed Dec 31 18:26:53 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.976.2.3 2008/12/21 15:26:50 raeburn Exp $
+# $Id: lonnet.pm,v 1.976.2.4 2008/12/31 18:26:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -521,7 +521,7 @@
 	tie(my %disk_env,'GDBM_File',$env{'user.environment'},
 	    (&GDBM_WRITER()|&GDBM_NOLOCK()),0640)) {
 	foreach my $key (keys(%disk_env)) {
-	    if ($key=~/^$delthis/) { 
+	    if ($key=~/^\Q$delthis\E/) { 
 		delete($env{$key});
 		delete($disk_env{$key});
 	    }