From 92a581153df9d0a44fd8cf75058cc9512bc40533 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 19 May 1999 02:27:09 +0000 Subject: [PATCH] Comment change. --- src/filelock.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/filelock.c b/src/filelock.c index cbdf8468da5..f5e4fb85966 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -124,7 +124,13 @@ get_boot_time () 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) { -- 2.39.2