diff options
Diffstat (limited to 'debian/patches/cordrepring-typo.diff')
-rw-r--r-- | debian/patches/cordrepring-typo.diff | 20 |
1 files changed, 20 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; + } + |