diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-07 17:02:03 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-11-07 17:02:03 +0000 |
commit | 06e27f6674e5361a8333ab07622cb7a19d3f52a1 (patch) | |
tree | 6b1ec78a8bbbfa3ff897a8d4668947eb68095d2f | |
parent | 7a663820aa7a816818eccbb59b4539791fb59f2a (diff) | |
download | pcre-06e27f6674e5361a8333ab07622cb7a19d3f52a1.tar.gz |
Fix pcretest -C pcre8/pcre16 bug.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1211 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | pcretest.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -149,6 +149,9 @@ Version 8.32 31. Add support for GCC's visibility feature to hide internal functions. +32. Running "pcretest -C pcre8" or "pcretest -C pcre16" gave a spurious error + "unknown -C option" after outputting 0 or 1. + Version 8.31 06-July-2012 ------------------------- @@ -3142,6 +3142,7 @@ while (argc > 1 && argv[op][0] == '-') printf("0\n"); yield = 0; #endif + goto EXIT; } else if (strcmp(argv[op + 1], "pcre16") == 0) { @@ -3152,6 +3153,7 @@ while (argc > 1 && argv[op][0] == '-') printf("0\n"); yield = 0; #endif + goto EXIT; } else if (strcmp(argv[op + 1], "pcre32") == 0) { |