aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/string.out
diff options
context:
space:
mode:
authorGravatar Michael Steed <msteed68@gmail.com>2016-02-21 14:59:03 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-02-21 19:32:08 -0800
commit5b0996fd80c6f2e5844dc42be2a0368ea3ff9e12 (patch)
treee23a32691eb0d788ac2329cc75805d5ba838da2c /tests/string.out
parent585c03db72fad2fe790937890dc0a82b4354baf6 (diff)
make fish compatible with pcre2 10.21
pcre2_substitute() now sets the output buffer length to PCRE2_UNSET (~0) if the output buffer is determined to be too small. This change keeps track of the buffer size separately where pcre2 can't touch it. A better fix would be to let pcre2 tell fish what size buffer it needs. This can be done with PCRE2_SUBSTITUTE_OVERFLOW_LENGTH, but this requires pcre2 10.21 or later (released January 12), which may be too new to introduce as a dependency at this point. Fixes #2743
Diffstat (limited to 'tests/string.out')
-rw-r--r--tests/string.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/string.out b/tests/string.out
index 64b956e3..45ccb369 100644
--- a/tests/string.out
+++ b/tests/string.out
@@ -41,6 +41,7 @@ spaces_to_underscores
right left $
put a
here
+aabb
invalid expression error
invalid argument error
missing argument returns 0