activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r498302 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src: main/Makefile.am main/activemq/connector/openwire/utils/OpenwireStringSupport.cpp test/Makefile.am
Date Sun, 21 Jan 2007 12:44:28 GMT
Author: tabish
Date: Sun Jan 21 04:44:27 2007
New Revision: 498302

URL: http://svn.apache.org/viewvc?view=rev&rev=498302
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/utils/OpenwireStringSupport.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am?view=diff&rev=498302&r1=498301&r2=498302
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/Makefile.am Sun Jan 21 04:44:27
2007
@@ -52,6 +52,7 @@
     activemq/connector/openwire/marshal/BaseDataStreamMarshaller.cpp \
     activemq/connector/openwire/utils/HexTable.cpp \
     activemq/connector/openwire/utils/BooleanStream.cpp \
+    activemq/connector/openwire/utils/OpenwireStringSupport.cpp \
     activemq/connector/openwire/marshal/PrimitiveMapMarshaller.cpp \
     activemq/connector/ConnectorFactoryMap.cpp \
     activemq/network/SocketInputStream.cpp \
@@ -190,6 +191,7 @@
     activemq/connector/openwire/marshal/BaseDataStreamMarshaller.h \
     activemq/connector/openwire/utils/HexTable.h \
     activemq/connector/openwire/utils/BooleanStream.h \
+    activemq/connector/openwire/utils/OpenwireStringSupport.h \
     activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h \
     activemq/connector/ConnectorFactoryMap.h \
     activemq/connector/Connector.h \

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/utils/OpenwireStringSupport.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/utils/OpenwireStringSupport.cpp?view=diff&rev=498302&r1=498301&r2=498302
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/utils/OpenwireStringSupport.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/utils/OpenwireStringSupport.cpp
Sun Jan 21 04:44:27 2007
@@ -103,6 +103,9 @@
                 }
             }
 
+            // C++ strings need a NULL terminator
+            value.push_back( '\0' );
+
             // Let the Compiler give us a string.
             return reinterpret_cast<const char*>( &value[0] );
         }

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am?view=diff&rev=498302&r1=498301&r2=498302
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/Makefile.am Sun Jan 21 04:44:27
2007
@@ -44,6 +44,7 @@
   activemq/connector/stomp/StompSessionManagerTest.cpp \
   activemq/connector/openwire/utils/HexTableTest.cpp \
   activemq/connector/openwire/utils/BooleanStreamTest.cpp \
+  activemq/connector/openwire/utils/OpenwireStringSupportTest.cpp \
   activemq/core/ActiveMQConnectionFactoryTest.cpp \
   activemq/core/ActiveMQConnectionTest.cpp \
   activemq/core/ActiveMQDestinationTest.cpp \



Mime
View raw message