author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Fri, 20 Aug 2010 15:09:51 +0000 (17:09 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Aug 2010 16:27:38 +0000 (09:27 -0700) | ||
commit | 8bd9fd50014424643bddfde51423d42e0fc60800 | |
tree | 4cc964ddad37e45e53aac7a69e012bb5d22fb5d3 | tree | snapshot |
parent | 8c67c392e1620fc3b749aa9e0b8da13bd84226f8 | commit | diff |
xmalloc: include size in the failure message
Out-of-memory errors can either be actual lack of memory, or bugs (like
code trying to call xmalloc(-1) by mistake). A little more information
may help tracking bugs reported by users.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Out-of-memory errors can either be actual lack of memory, or bugs (like
code trying to call xmalloc(-1) by mistake). A little more information
may help tracking bugs reported by users.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wrapper.c | diff | blob | history |