Fix bugs in file timestamp newness comparisons.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2012 00:04:46 +0000 (17:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2012 00:04:46 +0000 (17:04 -0700)
commit39adff0d6323578236a6bd9022c42460e8628629
tree6f51ae7a3debe203b0f6462dc260c0417df5efd9
parentdbeed9a6816f011bbf29ff9e991f38b0d0d7e5ea
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.
src/ChangeLog
src/fileio.c
src/lread.c