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-07-12 15:13:54 -07:00
2010-09-03 09:43:44 -07:00
2010-08-22 20:18:37 -07:00
2010-06-21 06:02:47 -07:00
2010-08-15 19:57:33 -07:00
2010-06-27 12:07:55 -07:00
2010-08-06 10:01:45 -07:00
2010-09-27 10:54:17 -07:00
2010-09-06 16:56:51 -07:00
2010-08-24 09:28:02 -07:00
2010-08-20 12:53:09 -07:00
2010-08-31 16:23:31 -07:00
2010-08-09 09:11:44 -07:00
2010-08-09 09:11:44 -07:00
2010-08-09 09:11:44 -07:00
2010-08-09 09:11:44 -07:00
2010-09-08 08:54:01 -07:00
2010-09-09 17:15:58 -07:00
2010-09-03 09:43:42 -07:00
2010-08-26 16:42:25 -07:00
2010-08-31 16:23:31 -07:00
2010-07-25 23:14:18 -07:00
2010-10-06 11:10:07 -07:00
2010-10-06 10:46:05 -07:00
2010-08-25 12:11:59 -07:00
2010-08-18 12:14:38 -07:00
2010-08-15 20:00:02 -07:00
2010-09-12 13:52:03 -07:00
2010-07-05 11:47:57 -07:00
2010-08-18 14:02:03 -07:00
2010-08-15 20:00:03 -07:00
2010-09-03 09:43:41 -07:00
2010-07-14 12:56:49 -07:00
2010-09-03 22:23:49 -07:00
2010-07-05 11:47:57 -07:00
2010-08-29 22:42:49 -07:00
2010-08-31 11:07:34 -07:00
2010-10-06 11:10:07 -07:00
2010-08-09 10:13:18 -07:00
2010-08-12 18:07:09 -07:00
2010-07-08 18:55:50 -07:00
2010-07-07 10:25:15 -07:00
2010-07-05 11:47:57 -07:00
2010-09-03 09:43:41 -07:00
2010-08-21 23:17:35 -07:00
2010-07-07 11:18:26 -07:00
2010-09-06 17:33:59 -07:00
2010-08-11 09:24:01 -07:00
2010-07-05 11:47:57 -07:00
2010-10-06 11:10:07 -07:00
2010-08-15 20:00:02 -07:00