summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2021-04-16 09:37:21 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2021-04-16 09:37:21 -0400
commit23eae53a7683ba6949c89c3b6ee484f9264597ee (patch)
treef03171628975373be5b76c5f35a4588f32939c68
parent66aa60151c4b21e2487aa1e96a2c3cdf6ca451c5 (diff)
Add patch to fix typo in CordRepRing error message
-rw-r--r--debian/patches/cordrepring-typo.diff20
-rw-r--r--debian/patches/series1
2 files changed, 21 insertions, 0 deletions
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 <bbaren@google.com>
+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