[LON-CAPA-cvs] cvs: loncom(Refactoring) / lond

foxr lon-capa-cvs@mail.lon-capa.org
Mon, 19 Apr 2004 11:32:35 -0000


foxr		Mon Apr 19 07:32:35 2004 EDT

  Modified files:              (Branch: Refactoring)
    /loncom	lond 
  Log:
  Well the pid was already there to uniquify it.
  
  
Index: loncom/lond
diff -u loncom/lond:1.178.2.17 loncom/lond:1.178.2.18
--- loncom/lond:1.178.2.17	Mon Apr 19 07:28:18 2004
+++ loncom/lond	Mon Apr 19 07:32:35 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.178.2.17 2004/04/19 11:28:18 foxr Exp $
+# $Id: lond,v 1.178.2.18 2004/04/19 11:32:35 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -53,7 +53,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.178.2.17 $'; #' stupid emacs
+my $VERSION='$Revision: 1.178.2.18 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid;
 my $currentdomainid;
@@ -2385,8 +2385,7 @@
 
     my $store;
     $tmpsnum++;
-    my $pid = $$;
-    my $id=$$.'_'.$clientip.'_'.$tmpsnum.'_'.$pid;
+    my $id=$$.'_'.$clientip.'_'.$tmpsnum;
     $id=~s/\W/\_/g;
     $what=~s/\n//g;
     my $execdir=$perlvar{'lonDaemons'};