diff options
| author | Paul Eggert | 2012-07-06 18:57:42 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-06 18:57:42 -0700 |
| commit | 31571fd712d8c1796f7d31739f1b48cf25948d64 (patch) | |
| tree | 36e8f03e132306f2824b8711827fcd8a6514279a /src/ChangeLog | |
| parent | 4516fbef7207ca23ca72da28d060dad979319310 (diff) | |
| download | emacs-31571fd712d8c1796f7d31739f1b48cf25948d64.tar.gz emacs-31571fd712d8c1796f7d31739f1b48cf25948d64.zip | |
Do not require float-time's arg to fit in time_t (Bug#11825).
This works better on hosts where time_t is unsigned, and where
float-time is applied to the (negative) difference between two times.
* editfns.c (decode_time_components): Last arg is now double *,
not int *, and means to store all the result as a double, without
worrying about whether the seconds part fits in time_t.
All callers changed.
(lisp_time_argument): Remove last int * arg, as it's no longer needed.
All callers changed.
(Ffloat_time): Do not fail merely because the specified time falls
outside of time_t range.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 03c92804fb8..435c6d87050 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2012-07-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Do not require float-time's arg to fit in time_t (Bug#11825). | ||
| 4 | This works better on hosts where time_t is unsigned, and where | ||
| 5 | float-time is applied to the (negative) difference between two times. | ||
| 6 | * editfns.c (decode_time_components): Last arg is now double *, | ||
| 7 | not int *, and means to store all the result as a double, without | ||
| 8 | worrying about whether the seconds part fits in time_t. | ||
| 9 | All callers changed. | ||
| 10 | (lisp_time_argument): Remove last int * arg, as it's no longer needed. | ||
| 11 | All callers changed. | ||
| 12 | (Ffloat_time): Do not fail merely because the specified time falls | ||
| 13 | outside of time_t range. | ||
| 14 | |||
| 1 | 2012-07-07 Glenn Morris <rgm@gnu.org> | 15 | 2012-07-07 Glenn Morris <rgm@gnu.org> |
| 2 | 16 | ||
| 3 | * s/darwin.h (HAVE_RES_INIT, HAVE_LIBRESOLV): | 17 | * s/darwin.h (HAVE_RES_INIT, HAVE_LIBRESOLV): |