[LON-CAPA-cvs] cvs: loncom / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 12 Jul 2005 21:29:59 -0000
albertel Tue Jul 12 17:29:59 2005 EDT
Modified files:
/loncom lond
Log:
- BUG# 4223, was listing resurce you couldn't see
(undef can't take a list, it is a unary operator
Index: loncom/lond
diff -u loncom/lond:1.290 loncom/lond:1.291
--- loncom/lond:1.290 Tue Jun 28 15:06:10 2005
+++ loncom/lond Tue Jul 12 17:29:58 2005
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.290 2005/06/28 19:06:10 banghart Exp $
+# $Id: lond,v 1.291 2005/07/12 21:29:58 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -58,7 +58,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.290 $'; #' stupid emacs
+my $VERSION='$Revision: 1.291 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -1413,7 +1413,8 @@
if(-d $ulsdir) {
if (opendir(LSDIR,$ulsdir)) {
while ($ulsfn=readdir(LSDIR)) {
- undef $obs, $rights;
+ undef($obs);
+ undef($rights);
my @ulsstats=stat($ulsdir.'/'.$ulsfn);
#We do some obsolete checking here
if(-e $ulsdir.'/'.$ulsfn.".meta") {
@@ -1480,7 +1481,8 @@
if(-d $ulsdir) {
if (opendir(LSDIR,$ulsdir)) {
while ($ulsfn=readdir(LSDIR)) {
- undef $obs, $rights;
+ undef($obs);
+ undef($rights);
my @ulsstats=stat($ulsdir.'/'.$ulsfn);
#We do some obsolete checking here
if(-e $ulsdir.'/'.$ulsfn.".meta") {