[LON-CAPA-cvs] cvs: loncom / lond
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 08 Sep 2004 18:57:33 -0000
albertel Wed Sep 8 14:57:33 2004 EDT
Modified files:
/loncom lond
Log:
- if it is a nohist_ database don't make a hist file
Index: loncom/lond
diff -u loncom/lond:1.251 loncom/lond:1.252
--- loncom/lond:1.251 Wed Sep 8 06:19:52 2004
+++ loncom/lond Wed Sep 8 14:57:33 2004
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.251 2004/09/08 10:19:52 foxr Exp $
+# $Id: lond,v 1.252 2004/09/08 18:57:33 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -57,7 +57,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.251 $'; #' stupid emacs
+my $VERSION='$Revision: 1.252 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid="default";
my $currentdomainid;
@@ -1048,7 +1048,7 @@
$how, 0640)) {
# If this is a namespace for which a history is kept,
# make the history log entry:
- if (($namespace =~/^nohist\_/) && (defined($loghead))) {
+ if (($namespace !~/^nohist\_/) && (defined($loghead))) {
my $args = scalar @_;
Debug(" Opening history: $namespace $args");
my $hfh = IO::File->new(">>$proname/$namespace.hist");