[LON-CAPA-cvs] cvs: loncom(version_1_1_X) / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 14 Jan 2004 01:20:41 -0000
albertel Tue Jan 13 20:20:41 2004 EDT
Modified files: (Branch: version_1_1_X)
/loncom lond
Log:
- backport 1.171
Index: loncom/lond
diff -u loncom/lond:1.165 loncom/lond:1.165.2.1
--- loncom/lond:1.165 Fri Dec 12 16:37:42 2003
+++ loncom/lond Tue Jan 13 20:20:40 2004
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.165 2003/12/12 21:37:42 albertel Exp $
+# $Id: lond,v 1.165.2.1 2004/01/14 01:20:40 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -52,7 +52,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.165 $'; #' stupid emacs
+my $VERSION='$Revision: 1.165.2.1 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid;
my $currentdomainid;
@@ -1439,7 +1439,7 @@
unless (mkdir($fpnow,0777)) {
$fperror="error: ".($!+0)
." mkdir failed while attempting "
- ."makeuser\n";
+ ."makeuser";
}
}
}
@@ -1959,7 +1959,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";