diff options
| author | Paul Eggert | 2015-02-08 16:21:11 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-02-08 16:21:44 -0800 |
| commit | fd6f7d1449c8496ab5c019d2aad7ca5e2980713a (patch) | |
| tree | 83934f904dda8a258d8b8175d0f6120f510b3790 /src/ChangeLog | |
| parent | db3fc07caf71b6d7a34f80333ba54ed6d67ee144 (diff) | |
| download | emacs-fd6f7d1449c8496ab5c019d2aad7ca5e2980713a.tar.gz emacs-fd6f7d1449c8496ab5c019d2aad7ca5e2980713a.zip | |
Better distinguish infinite from invalid times
* editfns.c (check_time_validity): New function.
(decode_time_components): Return int, not bool.
Return -1 (not 0) if the time is out of range.
All callers changed.
(lisp_time_struct, lisp_seconds_argument): Distinguish better
between time overflow and invalid time values.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 56f88f5bec4..017b8f15e3b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Better distinguish infinite from invalid times | ||
| 4 | * editfns.c (check_time_validity): New function. | ||
| 5 | (decode_time_components): Return int, not bool. | ||
| 6 | Return -1 (not 0) if the time is out of range. | ||
| 7 | All callers changed. | ||
| 8 | (lisp_time_struct, lisp_seconds_argument): Distinguish better | ||
| 9 | between time overflow and invalid time values. | ||
| 10 | |||
| 1 | 2015-02-08 Paul Eggert <eggert@cs.ucla.edu> | 11 | 2015-02-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 12 | ||
| 3 | Minor tweaks to frame_size_history_add | 13 | Minor tweaks to frame_size_history_add |