[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[certi-cvs] certi libCERTI/Exception.cc include/baseTypes.hh
From: |
certi-cvs |
Subject: |
[certi-cvs] certi libCERTI/Exception.cc include/baseTypes.hh |
Date: |
Mon, 29 Sep 2008 12:31:29 +0000 |
CVSROOT: /sources/certi
Module name: certi
Changes by: Eric NOULARD <erk> 08/09/29 12:31:29
Modified files:
libCERTI : Exception.cc
include : baseTypes.hh
Log message:
Fix bug #24403 : RTI::Exception::displayMe() returns temporary
may fix
bug #23755 : rtig crashed when directly closed one billard federate
application
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/Exception.cc?cvsroot=certi&r1=3.13&r2=3.14
http://cvs.savannah.gnu.org/viewcvs/certi/include/baseTypes.hh?cvsroot=certi&r1=3.11&r2=3.12
Patches:
Index: libCERTI/Exception.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/Exception.cc,v
retrieving revision 3.13
retrieving revision 3.14
diff -u -b -r3.13 -r3.14
--- libCERTI/Exception.cc 12 Jun 2008 07:39:50 -0000 3.13
+++ libCERTI/Exception.cc 29 Sep 2008 12:31:28 -0000 3.14
@@ -19,7 +19,7 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
-// $Id: Exception.cc,v 3.13 2008/06/12 07:39:50 erk Exp $
+// $Id: Exception.cc,v 3.14 2008/09/29 12:31:28 erk Exp $
// ----------------------------------------------------------------------------
#include <assert.h>
@@ -285,7 +285,7 @@
return *this ;
}
-const char* RTI::Exception::displayMe() const {
+const std::string RTI::Exception::displayMe() const {
std::stringstream msg;
@@ -306,7 +306,7 @@
msg << std::flush;
PD_Exception[pdExcept] << msg.str().c_str();
- return msg.str().c_str();
+ return msg.str();
}
RTI_STD::ostream &
Index: include/baseTypes.hh
===================================================================
RCS file: /sources/certi/certi/include/baseTypes.hh,v
retrieving revision 3.11
retrieving revision 3.12
diff -u -b -r3.11 -r3.12
--- include/baseTypes.hh 29 Apr 2008 07:50:22 -0000 3.11
+++ include/baseTypes.hh 29 Sep 2008 12:31:28 -0000 3.12
@@ -30,7 +30,7 @@
Exception &operator=(const Exception &);
virtual Exception *cloneSelf() const throw() = 0 ;
virtual void throwSelf() const = 0 ;
- const char* displayMe() const;
+ const std::string displayMe() const;
virtual long getType() = 0;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [certi-cvs] certi libCERTI/Exception.cc include/baseTypes.hh,
certi-cvs <=