Revision: 917
http://www.exim.org/viewvc/pcre2?view=rev&revision=917
Author: ph10
Date: 2018-02-19 17:00:45 +0000 (Mon, 19 Feb 2018)
Log Message:
-----------
Oops, forgot about "-C bsr" in previous patch.
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/src/pcre2test.c
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2018-02-19 16:55:47 UTC (rev 916)
+++ code/trunk/ChangeLog 2018-02-19 17:00:45 UTC (rev 917)
@@ -17,7 +17,8 @@
3. Running "pcre2test -C" always stated "\R matches CR, LF, or CRLF only",
whatever the build configuration was. It now correctly says "\R matches all
Unicode newlines" in the default case when --enable-bsr-anycrlf has not been
-specified.
+specified. Similarly, running "pcfre2test -C bsr" never produced the result
+ANY.
Version 10.31 12-February-2018
Modified: code/trunk/src/pcre2test.c
===================================================================
--- code/trunk/src/pcre2test.c 2018-02-19 16:55:47 UTC (rev 916)
+++ code/trunk/src/pcre2test.c 2018-02-19 17:00:45 UTC (rev 917)
@@ -7793,7 +7793,7 @@
{
case CONF_BSR:
(void)PCRE2_CONFIG(coptlist[i].value, &optval);
- printf("%s\n", optval? "ANYCRLF" : "ANY");
+ printf("%s\n", (optval == PCRE2_BSR_ANYCRLF)? "ANYCRLF" : "ANY");
break;
case CONF_FIX: