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

www lon-capa-cvs@mail.lon-capa.org
Thu, 15 Jan 2004 15:28:30 -0000


www		Thu Jan 15 10:28:30 2004 EDT

  Modified files:              
    /loncom	lond 
  Log:
  **** NEED TO DISCUSS FOR 1.1.1
  
  If one is using lonnet &get, &put, &dump, &del, the keys are escaped or
  unescaped lonnet-site.
  
  
Index: loncom/lond
diff -u loncom/lond:1.171 loncom/lond:1.172
--- loncom/lond:1.171	Tue Jan 13 20:08:31 2004
+++ loncom/lond	Thu Jan 15 10:28:30 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.171 2004/01/14 01:08:31 albertel Exp $
+# $Id: lond,v 1.172 2004/01/15 15:28:30 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -53,7 +53,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.171 $'; #' stupid emacs
+my $VERSION='$Revision: 1.172 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid;
 my $currentdomainid;
@@ -2213,7 +2213,7 @@
 			my %hash;
 			if (tie(%hash,'GDBM_File',"$proname/$namespace.db",&GDBM_WRCREAT(),0640)) {
 			    foreach my $key (@keys) {
-				delete($hash{&unescape($key)});
+				delete($hash{$key});
 			    }
 			    if (untie(%hash)) {
 				print $client "ok\n";