Mercurial > emacs
changeset 24746:a7eb312629b4
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 19 May 1999 02:27:09 +0000 |
parents | aa8417416f03 |
children | 8dc6fde63a8c |
files | src/filelock.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filelock.c Wed May 19 01:40:23 1999 +0000 +++ b/src/filelock.c Wed May 19 02:27:09 1999 +0000 @@ -124,7 +124,13 @@ EMACS_GET_TIME (time_before); /* Try calculating the last boot time - from the uptime as obtained from /proc/uptime. */ + from the uptime as obtained from /proc/uptime. + + This has a disadvantage in that if the system time has been + changed (say to correct the clock), + then current_time - uptime != wtmp_boot_time. + However, the speedup from doing this can be so great + that I think it is worth that problem occasionally. */ while ((fd = open ("/proc/uptime", O_RDONLY)) >= 0) {