mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Update from Gnulib by running admin/merge-gnulib
This commit is contained in:
parent
cada1c3192
commit
2cc6c81278
27 changed files with 249 additions and 269 deletions
|
|
@ -468,11 +468,9 @@ __mktime_internal (struct tm *tp, bool local, mktime_offset_t *offset)
|
|||
int year_seconds_bound = 366 * 24 * 60 * 60 + 1;
|
||||
int delta_bound = year_seconds_bound + stride;
|
||||
|
||||
int delta, direction;
|
||||
|
||||
/* Search in both directions, closest first. */
|
||||
for (delta = stride; delta < delta_bound; delta += stride)
|
||||
for (direction = -1; direction <= 1; direction += 2)
|
||||
for (int delta = stride; delta < delta_bound; delta += stride)
|
||||
for (int direction = -1; direction <= 1; direction += 2)
|
||||
{
|
||||
long_int ot;
|
||||
if (! ckd_add (&ot, t, delta * direction))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue