From 23eae53a7683ba6949c89c3b6ee484f9264597ee Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Fri, 16 Apr 2021 09:37:21 -0400 Subject: Add patch to fix typo in CordRepRing error message --- debian/patches/cordrepring-typo.diff | 20 ++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 debian/patches/cordrepring-typo.diff diff --git a/debian/patches/cordrepring-typo.diff b/debian/patches/cordrepring-typo.diff new file mode 100644 index 00000000..6f21896b --- /dev/null +++ b/debian/patches/cordrepring-typo.diff @@ -0,0 +1,20 @@ +From: Benjamin Barenblat +Subject: Fix typo in CordRepRing error message +Forwarded: yes +Applied-Upstream: https://github.com/abseil/abseil-cpp/commit/b97a1ecda869ca8754d467a56c50275cebfeb328 + +The author works at Google. Upstream applied this patch as Piper +revision 367481280 and exported it to GitHub; the Applied-Upstream URL +above points to the exported commit. + +--- a/absl/strings/internal/cord_rep_ring.cc ++++ b/absl/strings/internal/cord_rep_ring.cc +@@ -301,7 +301,7 @@ + if (offset >= child->length || entry_length > child->length - offset) { + output << "entry[" << head << "] has offset " << offset + << " and entry length " << entry_length +- << " which are outside of the childs length of " << child->length; ++ << " which are outside of the child's length of " << child->length; + return false; + } + diff --git a/debian/patches/series b/debian/patches/series index 9dec17a0..663e1655 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ configure.diff std-hash.diff latomic.diff +cordrepring-typo.diff -- cgit v1.2.3