1
0
mirror of https://github.com/git/git.git synced 2025-03-22 11:36:35 +00:00
git/builtin
Erik Faye-Lund c03c83152d do not depend on signed integer overflow
Signed integer overflow is not defined in C, so do not depend on it.

This fixes a problem with GCC 4.4.0 and -O3 where the optimizer would
consider "consumed_bytes > consumed_bytes + bytes" as a constant
expression, and never execute the die()-call.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-10-06 11:10:07 -07:00
..
2010-08-22 20:18:37 -07:00
2010-06-21 06:02:47 -07:00
2010-06-27 12:07:55 -07:00
2010-09-27 10:54:17 -07:00
2010-08-31 16:23:31 -07:00
2010-08-31 16:23:31 -07:00
2010-10-06 10:46:05 -07:00
2010-08-12 18:07:09 -07:00
2010-09-03 09:43:41 -07:00
2010-07-07 11:18:26 -07:00