[LON-CAPA-cvs] cvs: loncom(version_2_1_X) / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 18 May 2006 19:58:37 -0000
albertel Thu May 18 15:58:37 2006 EDT
Modified files: (Branch: version_2_1_X)
/loncom lond
Log:
- backport 1.330
Index: loncom/lond
diff -u loncom/lond:1.305.2.5 loncom/lond:1.305.2.6
--- loncom/lond:1.305.2.5 Mon Mar 27 14:52:16 2006
+++ loncom/lond Thu May 18 15:58:36 2006
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.305.2.5 2006/03/27 19:52:16 albertel Exp $
+# $Id: lond,v 1.305.2.6 2006/05/18 19:58:36 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -61,7 +61,7 @@
my $lastlog='';
my $lond_max_wait_time = 13;
-my $VERSION='$Revision: 1.305.2.5 $'; #' stupid emacs
+my $VERSION='$Revision: 1.305.2.6 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -2291,7 +2291,9 @@
if (open(ENVIN,$perlvar{'lonIDsDir'}.'/'.
$session.'.id')) {
while (my $line=<ENVIN>) {
- if ($line=~ m|userfile\.\Q$fname\E\=|) { $reply="ok\n"; }
+ my ($envname)=split(/=/,$line,2);
+ $envname=&unescape($envname);
+ if ($envname=~ m|^userfile\.\Q$fname\E|) { $reply="ok\n"; }
}
close(ENVIN);
&Reply($client, $reply, "$cmd:$tail");