From: Dan Nicolaescu Date: Fri, 2 Jan 2009 18:35:15 +0000 (+0000) Subject: (system_process_attributes): Provide Qtime and Qctime X-Git-Tag: emacs-pretest-23.0.90~747 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfe11752df54ac0a7dc03340c74c725a863505f5;p=emacs.git (system_process_attributes): Provide Qtime and Qctime for Solaris instead of incorrectly providing Qutime and Qcutime. --- 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))),