MFC r274365:

Revert WiP to contrib/tzcode accidentally committed with r274364
This commit is contained in:
Enji Cooper 2014-12-05 12:25:36 +00:00
parent b2f83cd495
commit f4110892a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=275509

View File

@ -1792,11 +1792,7 @@ int delta;
number0 = *number;
*number += delta;
if ((*number < number0) != (delta < 0)) {
errno = EOVERFLOW;
return (1);
}
return (0);
return (*number < number0) != (delta < 0);
}
static int
@ -1808,11 +1804,7 @@ int delta;
number0 = *number;
*number += delta;
if ((*number < number0) != (delta < 0)) {
errno = EOVERFLOW;
return (1);
}
return (0);
return (*number < number0) != (delta < 0);
}
static int