mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
MFC r274365:
Revert WiP to contrib/tzcode accidentally committed with r274364
This commit is contained in:
parent
b2f83cd495
commit
f4110892a0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=275509
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user