certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

certi ChangeLog RTIA/FederationManagement.cc


From: certi-cvs
Subject: certi ChangeLog RTIA/FederationManagement.cc
Date: Tue, 06 Nov 2007 08:57:25 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     ROUSSELOT <rousse>      07/11/06 08:57:24

Modified files:
        .              : ChangeLog 
        RTIA           : FederationManagement.cc 

Log message:
        FR : Suppression du fichier temporaire FED
        EN : Removing FED temporary file

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/ChangeLog?cvsroot=certi&r1=3.30&r2=3.31
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/FederationManagement.cc?cvsroot=certi&r1=3.31&r2=3.32

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/certi/certi/ChangeLog,v
retrieving revision 3.30
retrieving revision 3.31
diff -u -b -r3.30 -r3.31
--- ChangeLog   5 Nov 2007 14:30:03 -0000       3.30
+++ ChangeLog   6 Nov 2007 08:57:24 -0000       3.31
@@ -1,3 +1,10 @@
+2007-11-05 15:30  rousse
+
+       * ChangeLog, RTIA/Communications.cc, RTIA/ObjectManagement.cc,
+         RTIA/ObjectManagement.hh, RTIA/TimeManagement.cc,
+         libCERTI/Message_R.cc, libCERTI/Message_W.cc,
+         libRTI/RTIambassador.cc: Bug #21515 correction
+
 2007-11-02 13:52  erk
 
        * scripts/FindCERTI.cmake: FindCERTI now honors the QUIET arguments

Index: RTIA/FederationManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/FederationManagement.cc,v
retrieving revision 3.31
retrieving revision 3.32
diff -u -b -r3.31 -r3.32
--- RTIA/FederationManagement.cc        31 Oct 2007 09:42:27 -0000      3.31
+++ RTIA/FederationManagement.cc        6 Nov 2007 08:57:24 -0000       3.32
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: FederationManagement.cc,v 3.31 2007/10/31 09:42:27 rousse Exp $
+// $Id: FederationManagement.cc,v 3.32 2007/11/06 08:57:24 rousse Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -186,6 +186,15 @@
             _numero_federation = 0 ;
             _est_createur_federation = false ;
             _fin_execution = true ;
+            // Now, remove temporary file (if not yet done)
+            if ( _FEDid[0] != '\0' )
+                {
+                char removing[MAX_FEDFILE_NAME_LENGTH+3] ;
+                strcpy(removing,"rm ");
+                strcat(removing,_FEDid);
+                system(removing);
+                _FEDid[0] = '\0' ;
+                }
         }
         else
             e = reponse.exception ;
@@ -388,6 +397,16 @@
         _est_membre_federation = false ;
         _numero_federation = 0 ;
         federate = 0 ;
+        // Now, remove temporary file (if not yet done)
+            if ( _FEDid[0] != '\0' )
+                {
+                char removing[MAX_FEDFILE_NAME_LENGTH+3] ;
+                strcpy(removing,"rm ");
+                strcat(removing,_FEDid);
+                system(removing);
+                _FEDid[0] = '\0' ;
+                }
+
 
         // BUG: Voir DestroyFederation ou ~GF.
         if (!_est_createur_federation)
@@ -894,4 +913,4 @@
 
 }} // namespace certi/rtia
 
-// $Id: FederationManagement.cc,v 3.31 2007/10/31 09:42:27 rousse Exp $
+// $Id: FederationManagement.cc,v 3.32 2007/11/06 08:57:24 rousse Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]