summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorFilipp Gunbin <fgunbin@fastmail.fm>2021-05-20 23:32:59 +0300
committerFilipp Gunbin <fgunbin@fastmail.fm>2021-05-26 16:15:03 +0300
commit6d51805154ef7591917c5727b905b4080e18b888 (patch)
treeafb5b171ee21f5f920fcfb5e18ea3ba6d418bf61 /lisp/emacs-lisp
parent5a762c946eac106e60bb55d8175b32decdbf7d5e (diff)
downloademacs-6d51805154ef7591917c5727b905b4080e18b888.tar.gz
emacs-6d51805154ef7591917c5727b905b4080e18b888.tar.bz2
emacs-6d51805154ef7591917c5727b905b4080e18b888.zip
Improve system_process_attributes on macOS (Bug#48548)
* src/sysdep.c (system_process_attributes): Fix misprint in 'tty' attr - should be 'ttname' instead. Change 'utime', 'stime', 'time', 'majflt' attrs to obtain them from proc_pid_rusage, as sysctl call used before doesn't give correct values; remove 'minflt' because it's not available. Obtain 'vsize' / 'rss' / 'thcount' from proc_pidinfo. Use sysctl with KERN_PROCARGS2 to obtain args: value contains both argc and argv, so argv can be reliably cut out.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions