(within_one_second): New function.
authorRichard M. Stallman <rms@gnu.org>
Fri, 19 Feb 1999 01:36:29 +0000 (01:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 19 Feb 1999 01:36:29 +0000 (01:36 +0000)
commit9177d97852ed4594d49224c12e9a6bbbce7c0946
tree48686bf7b5c0b1c8b2bbce1de20a2ffa3b96d218
parent5bda49c640132d7eb25c4aa047b895622f3a4ff0
(within_one_second): New function.
(current_lock_owner): Use that.
(get_boot_time): Use /proc/uptime if available.
Otherwise, if nothing found in wtmp, try wtmp.1.gz and so on.
(get_boot_time_1): New subroutine taken from get_boot_time.
src/filelock.c