From bfe11752df54ac0a7dc03340c74c725a863505f5 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Fri, 2 Jan 2009 18:35:15 +0000 Subject: [PATCH] (system_process_attributes): Provide Qtime and Qctime for Solaris instead of incorrectly providing Qutime and Qcutime. --- src/ChangeLog | 5 +++++ src/sysdep.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index dcbf8f8bd9e..9e8ec82e6c1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-01-02 Dan Nicolaescu + + * sysdep.c (system_process_attributes): Provide Qtime and Qctime + for Solaris instead of incorrectly providing Qutime and Qcutime. + 2009-01-02 Eli Zaretskii * w32.c (process_times): Compute sum of utime and stime. diff --git a/src/sysdep.c b/src/sysdep.c index 1cf9890ecb8..fe3a55bdda6 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -3708,17 +3708,19 @@ system_process_attributes (Lisp_Object pid) Qcminflt Qcmajflt + Qutime + Qcutime Qstime Qcstime Are they available? */ - attrs = Fcons (Fcons (Qutime, + attrs = Fcons (Fcons (Qtime, list3 (make_number (pinfo.pr_time.tv_sec >> 16), make_number (pinfo.pr_time.tv_sec & 0xffff), make_number (pinfo.pr_time.tv_nsec))), attrs); - attrs = Fcons (Fcons (Qcutime, + attrs = Fcons (Fcons (Qctime, list3 (make_number (pinfo.pr_ctime.tv_sec >> 16), make_number (pinfo.pr_ctime.tv_sec & 0xffff), make_number (pinfo.pr_ctime.tv_nsec))), -- 2.39.2