diff options
| author | Paul Eggert | 2012-07-03 17:04:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-03 17:04:46 -0700 |
| commit | 39adff0d6323578236a6bd9022c42460e8628629 (patch) | |
| tree | 6f51ae7a3debe203b0f6462dc260c0417df5efd9 /src/ChangeLog | |
| parent | dbeed9a6816f011bbf29ff9e991f38b0d0d7e5ea (diff) | |
| download | emacs-39adff0d6323578236a6bd9022c42460e8628629.tar.gz emacs-39adff0d6323578236a6bd9022c42460e8628629.zip | |
Fix bugs in file timestamp newness comparisons.
* fileio.c (Ffile_newer_than_file_p):
* lread.c (Fload): Use full timestamp resolution of files,
not just the 1-second resolution, so that files that are only
slightly newer still count as newer.
* fileio.c (Ffile_newer_than_file_p): Don't assume file
timestamps fit in 'int'; this fixes a Y2038 bug on most hosts.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 87e92170261..5433c2ff831 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2012-07-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix bugs in file timestamp newness comparisons. | ||
| 4 | * fileio.c (Ffile_newer_than_file_p): | ||
| 5 | * lread.c (Fload): Use full timestamp resolution of files, | ||
| 6 | not just the 1-second resolution, so that files that are only | ||
| 7 | slightly newer still count as newer. | ||
| 8 | * fileio.c (Ffile_newer_than_file_p): Don't assume file | ||
| 9 | timestamps fit in 'int'; this fixes a Y2038 bug on most hosts. | ||
| 10 | |||
| 1 | 2012-07-03 Paul Eggert <eggert@cs.ucla.edu> | 11 | 2012-07-03 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 12 | ||
| 13 | |||
| 3 | * fileio.c: Improve handling of file time marker. (Bug#11852) | 14 | * fileio.c: Improve handling of file time marker. (Bug#11852) |
| 4 | (special_mtime): New function. | 15 | (special_mtime): New function. |
| 5 | (Finsert_file_contents, Fverify_visited_file_modtime): | 16 | (Finsert_file_contents, Fverify_visited_file_modtime): |