[LON-CAPA-cvs] cvs: loncom / lond

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 14 Jan 2004 01:08:31 -0000


albertel		Tue Jan 13 20:08:31 2004 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - doulbe return BUG#2554
  - del not unescaping escaped keys
  
  
Index: loncom/lond
diff -u loncom/lond:1.170 loncom/lond:1.171
--- loncom/lond:1.170	Wed Jan  7 16:13:52 2004
+++ loncom/lond	Tue Jan 13 20:08:31 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.170 2004/01/07 21:13:52 albertel Exp $
+# $Id: lond,v 1.171 2004/01/14 01:08:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -53,7 +53,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.170 $'; #' stupid emacs
+my $VERSION='$Revision: 1.171 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid;
 my $currentdomainid;
@@ -1693,7 +1693,7 @@
 				    unless (mkdir($fpnow,0777)) {
 					$fperror="error: ".($!+0)
 					    ." mkdir failed while attempting "
-					    ."makeuser\n";
+					    ."makeuser";
 				    }
 				}
 			    }
@@ -2213,7 +2213,7 @@
 			my %hash;
 			if (tie(%hash,'GDBM_File',"$proname/$namespace.db",&GDBM_WRCREAT(),0640)) {
 			    foreach my $key (@keys) {
-				delete($hash{$key});
+				delete($hash{&unescape($key)});
 			    }
 			    if (untie(%hash)) {
 				print $client "ok\n";