Michael Steed 5b0996fd80 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
2016-02-21 19:32:08 -08:00
..
2015-06-14 14:13:57 -07:00
2016-01-14 16:58:29 +01:00
2015-06-14 14:13:57 -07:00
2016-02-16 11:40:40 -08:00
2016-02-16 11:40:40 -08:00
2014-08-20 21:45:07 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2014-12-23 15:46:47 -08:00
2014-12-23 15:46:47 -08:00
2013-03-03 00:45:34 +05:30
2005-09-20 23:31:55 +10:00
2015-04-05 23:47:04 -07:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2015-09-09 20:55:04 +02:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2014-07-13 19:11:29 -07:00
2012-07-08 09:19:11 +08:00
2012-07-08 09:19:11 +08:00
2015-11-14 13:15:30 +01:00
2015-11-14 13:15:30 +01:00