On Thu, Nov 03 2022, Christian Weisgerber <na...@mips.inka.de> wrote: > YASUOKA Masahiko: > >> Currently pcre2 is configured with "--enable-newline-is-any". >> I think we should change it to --enable-newline-is-anycrlf to avoid the >> conflict. > > If I may ask: Why do we diverge from the default newline setting > at all? > > I notice that (1) the FreeBSD port doesn't and (2) callers that > need to process non-Unix newlines can individually set this.
I took a look yesterday and I suspect that czarkoff@ enabled it out of excessive zeal, along with the other --enable-* flags. This is present since https://github.com/jasperla/openbsd-wip/commit/07650bf8fcd5da17ccdf71387917f5e30da5eb50 with no rationale or discussion on this list. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE