You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2016/04/20 19:21:36 UTC

qpid-dispatch git commit: DISPATCH-286 - Remove the backslash option from the prefix delimiters.

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 7eea3ff37 -> 1c46b7c68


DISPATCH-286 - Remove the backslash option from the prefix delimiters.


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/1c46b7c6
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/1c46b7c6
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/1c46b7c6

Branch: refs/heads/master
Commit: 1c46b7c68e459b6e7e6df662320117d513fa67bb
Parents: 7eea3ff
Author: Ted Ross <tr...@redhat.com>
Authored: Wed Apr 20 13:20:40 2016 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Wed Apr 20 13:20:40 2016 -0400

----------------------------------------------------------------------
 src/iterator.c     | 2 +-
 tests/field_test.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/1c46b7c6/src/iterator.c
----------------------------------------------------------------------
diff --git a/src/iterator.c b/src/iterator.c
index 4af832a..3bd62cf 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -87,7 +87,7 @@ typedef enum {
 static char *my_area    = "";
 static char *my_router  = "";
 
-const char *SEPARATORS  = "./\\";
+const char *SEPARATORS  = "./";
 
 const uint32_t HASH_INIT = 5381;
 

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/1c46b7c6/tests/field_test.c
----------------------------------------------------------------------
diff --git a/tests/field_test.c b/tests/field_test.c
index af08fd7..5d64b23 100644
--- a/tests/field_test.c
+++ b/tests/field_test.c
@@ -664,7 +664,6 @@ static char *test_prefix_hash(void *context)
                        "mixed.set/of/delimiters.two",   // 10
                        "mixed.set/of/delimiters/three", // 11
                        "mixed.set",                     // 12
-                       "backslash\\windows",            // 13
                        0};
     struct { char* pattern; int entry; } patterns[] = {{"an_entry_with_no_separators", 0},
                                                        {"dot.separated.pattern.one", 1},
@@ -682,7 +681,6 @@ static char *test_prefix_hash(void *context)
                                                        {"mixed.set/of/delimiters.one.queue", 9},
                                                        {"mixed.set.of/delimiters.one.queue", 12},
                                                        {"other.thing.entirely", -1},
-                                                       {"backslash\\windows\\test", 13},
                                                        {0, 0}};
 
     qd_hash_t *hash = qd_hash(10, 32, 0);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org