summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-03-04 19:21:38 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-03-04 19:29:06 -0800
commit2f5a8c4f275eeb36f575c312adb9a17bd8168994 (patch)
tree74cae09660b1279a9ec2eee542e81b55def90d15 /lisp/emacs-lisp/cursor-sensor.el
parent2fbd48f733426824cb89b958378a52cfb053774c (diff)
downloademacs-2f5a8c4f275eeb36f575c312adb9a17bd8168994.tar.gz
emacs-2f5a8c4f275eeb36f575c312adb9a17bd8168994.tar.bz2
emacs-2f5a8c4f275eeb36f575c312adb9a17bd8168994.zip
Fix process-attributes time precision on BSD
* src/sysdep.c (timeval_to_timespec) [__FreeBSD__ || DARWIN_OS]: Remove; no longer needed. (make_lisp_s_us) [__FreeBSD__ || DARWIN_OS || __OpenBSD__]: New function. (make_lisp_timeval) [__FreeBSD__ || DARWIN_OS || __OpenBSD__]: Rework in terms of make_lisp_s_us. (system_process_attributes) [__FreeBSD__ || DARWIN_OS || __OpenBSD__]: Simplify by using the above. This fixes some minor problems where timestamps promised more precision than was actually available.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions