diff options
| author | Paul Eggert | 2011-09-30 13:22:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-30 13:22:01 -0700 |
| commit | 4222c55da73988a2bf397184e46505fc9a52f8b4 (patch) | |
| tree | 42ccf25d299fbf1ad4030b0d613c7d3bca89edde /src/ChangeLog | |
| parent | 9229fe8763afbfe5e416b8d6826307282bd84b60 (diff) | |
| download | emacs-4222c55da73988a2bf397184e46505fc9a52f8b4.tar.gz emacs-4222c55da73988a2bf397184e46505fc9a52f8b4.zip | |
* buffer.h (struct buffer): Use time_t, not int, for a time stamp.
This fixes a Y2038 bug on 64-bit hosts.
* buffer.c (reset_buffer):
* fileio.c (Fdo_auto_save, Fset_buffer_auto_saved)
(Fclear_buffer_auto_save_failure):
Use 0, not -1, to represent an unset failure time, since time_t
might not be signed.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 89e705efd73..238e3faae51 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2011-09-30 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-09-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * buffer.h (struct buffer): Use time_t, not int, for a time stamp. | ||
| 4 | This fixes a Y2038 bug on 64-bit hosts. | ||
| 5 | * buffer.c (reset_buffer): | ||
| 6 | * fileio.c (Fdo_auto_save, Fset_buffer_auto_saved) | ||
| 7 | (Fclear_buffer_auto_save_failure): | ||
| 8 | Use 0, not -1, to represent an unset failure time, since time_t | ||
| 9 | might not be signed. | ||
| 10 | |||
| 3 | Remove dependency on glibc malloc internals. | 11 | Remove dependency on glibc malloc internals. |
| 4 | * alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): | 12 | * alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): |
| 5 | Move back here from lisp.h, but with their new implementations. | 13 | Move back here from lisp.h, but with their new implementations. |