summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2019-04-19 07:10:24 -0400
committerAndrew Gallant <jamslam@gmail.com>2019-04-19 07:11:44 -0400
commite7829c05d3b9234f053e7d480f7e75028831d772 (patch)
treea6323746ebba4762cc21dca77b6d1e415d4898e7 /CHANGELOG.md
parenta6222939f9032b40de6065a71cf06d143dda86a3 (diff)
cli: fix bug where last byte was stripped
In an effort to strip line terminators, we assumed their existence. But a pattern file may not end with a line terminator, so we shouldn't unconditionally strip them. We fix this by moving to bstr's line handling, which does this for us automatically.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27213652..51fe7fa0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+TBD
+===
+TODO.
+
+Bug fixes:
+
+* [BUG #1259](https://github.com/BurntSushi/ripgrep/issues/1259):
+ Fix bug where the last byte of a `-f file` was stripped if it wasn't a `\n`.
+
+
11.0.1 (2019-04-16)
===================
ripgrep 11.0.1 is a new patch release that fixes a search regression introduced