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

foxr foxr@source.lon-capa.org
Mon, 25 Oct 2010 10:29:33 -0000


foxr		Mon Oct 25 10:29:33 2010 EDT

  Modified files:              
    /loncom	lond 
  Log:
  ?? in initnewstatus add ()'s for time call ??? was getting undefined
  reference messsagtes for $now() in the next line in FC13.
  
  
Index: loncom/lond
diff -u loncom/lond:1.459 loncom/lond:1.460
--- loncom/lond:1.459	Mon Sep 27 00:21:02 2010
+++ loncom/lond	Mon Oct 25 10:29:33 2010
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.459 2010/09/27 00:21:02 raeburn Exp $
+# $Id: lond,v 1.460 2010/10/25 10:29:33 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -53,12 +53,12 @@
 use Fcntl qw(:flock);
 use Apache::lonnet;
 
-my $DEBUG = 0;		       # Non zero to enable debug log entries.
+my $DEBUG = 1;		       # Non zero to enable debug log entries.
 
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.459 $'; #' stupid emacs
+my $VERSION='$Revision: 1.460 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -4278,6 +4278,7 @@
 sub get_domain_handler {
     my ($cmd, $tail, $client) = @_;
 
+    &dirtylog("get_domain_handler");
     my $userinput = "$client:$tail";
 
     my ($udom,$namespace,$what)=split(/:/,$tail,3);
@@ -6233,7 +6234,7 @@
 sub initnewstatus {
     my $docdir=$perlvar{'lonDocRoot'};
     my $fh=IO::File->new(">$docdir/lon-status/londstatus.txt");
-    my $now=time;
+    my $now=time();
     my $local=localtime($now);
     print $fh "LOND status $local - parent $$\n\n";
     opendir(DIR,"$docdir/lon-status/londchld");