diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-07 19:54:47 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-11 02:13:06 -0800 |
commit | 39c68542fc8d8477f2080c99efedb9dce975abc6 (patch) | |
tree | 20dc36a5228a41c4332ceed568254ab48d16c9df /mozilla-sha1/sha1.h | |
parent | Merge branch 'maint-1.5.6' into maint-1.6.0 (diff) | |
download | tgif-39c68542fc8d8477f2080c99efedb9dce975abc6.tar.xz |
Wrap inflate and other zlib routines for better error reporting
R. Tyler Ballance reported a mysterious transient repository corruption;
after much digging, it turns out that we were not catching and reporting
memory allocation errors from some calls we make to zlib.
This one _just_ wraps things; it doesn't do the "retry on low memory
error" part, at least not yet. It is an independent issue from the
reporting. Some of the errors are expected and passed back to the caller,
but we die when zlib reports it failed to allocate memory for now.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mozilla-sha1/sha1.h')
0 files changed, 0 insertions, 0 deletions