You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2009/02/03 21:37:31 UTC
svn commit: r740429 - in /qpid/trunk/qpid/cpp: configure.ac
src/qpid/cluster/UpdateClient.cpp
Author: kpvdr
Date: Tue Feb 3 20:37:30 2009
New Revision: 740429
URL: http://svn.apache.org/viewvc?rev=740429&view=rev
Log:
Changed name of UpdateClient's queue from "\000qpid-update" to "qpid.qpid-update" to avoid problems with c-strings in BDB
Modified:
qpid/trunk/qpid/cpp/configure.ac
qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp
Modified: qpid/trunk/qpid/cpp/configure.ac
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/configure.ac?rev=740429&r1=740428&r2=740429&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/configure.ac (original)
+++ qpid/trunk/qpid/cpp/configure.ac Tue Feb 3 20:37:30 2009
@@ -172,8 +172,8 @@
[AS_HELP_STRING([--with-cpg], [Build with CPG support for clustering.])],
[case "${withval}" in
yes) # yes - require dependencies
- test x$have_libcpg = xyes || AC_MSG_ERROR([libcpg not found, install openais-devel or corosync-devel])
- test x$have_cpg_h = xyes || AC_MSG_ERROR([cpg.h not found, install openais-devel or corosync-devel])
+ test x$have_libcpg = xyes || AC_MSG_ERROR([libcpg not found, install openais-devel and corosync-devel])
+ test x$have_cpg_h = xyes || AC_MSG_ERROR([cpg.h not found, install openais-devel and corosync-devel])
with_cpg=yes
;;
no) with_cpg=no ;;
Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp?rev=740429&r1=740428&r2=740429&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/UpdateClient.cpp Tue Feb 3 20:37:30 2009
@@ -99,8 +99,8 @@
UpdateClient::~UpdateClient() {}
-// Illegal exchange/queue name for catch-up, avoid clashes with user queues/exchanges.
-static const char UPDATE_CHARS[] = "\000qpid-update";
+// Reserved exchange/queue name for catch-up, avoid clashes with user queues/exchanges.
+static const char UPDATE_CHARS[] = "qpid.qpid-update";
const std::string UpdateClient::UPDATE(UPDATE_CHARS, sizeof(UPDATE_CHARS));
void UpdateClient::update() {
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org