[LON-CAPA-cvs] cvs: loncom / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 31 Aug 2005 21:47:32 -0000
albertel Wed Aug 31 17:47:32 2005 EDT
Modified files:
/loncom lond
Log:
- find is trying to probe the $cwd, not sure why, so chdir first
Index: loncom/lond
diff -u loncom/lond:1.293 loncom/lond:1.294
--- loncom/lond:1.293 Fri Aug 26 15:44:15 2005
+++ loncom/lond Wed Aug 31 17:47:29 2005
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.293 2005/08/26 19:44:15 albertel Exp $
+# $Id: lond,v 1.294 2005/08/31 21:47:29 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -59,7 +59,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.293 $'; #' stupid emacs
+my $VERSION='$Revision: 1.294 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -1370,6 +1370,7 @@
if ($_=~/\.meta$/) { return;}
$total_size+=(stat($_))[7];
};
+ chdir($ududur);
find($code,$ududir);
$total_size=int($total_size/1024);
&Reply($client,"$total_size\n","$cmd:$ududir");