Mercurial > emacs
diff src/ChangeLog @ 100885:56164f0c606d
* w32.c: Use 64-bit arithmetic to do FILETIME conversions. (Bug#1766)
(utc_base): Declare as ULONGLONG, not long double.
(convert_time_raw): Delete.
(FILETIME_TO_U64, U64_TO_LISP_TIME): New macros.
(initialize_utc_base): New function.
(convert_time): Use FILETIME_TO_U64, initialize_utc_base.
(convert_from_time_t): Use initialize_utc_base; compute result with
64-bit arithmetic.
(process_times): Use FILETIME_TO_U64, U64_TO_LISP_TIME.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sun, 04 Jan 2009 11:30:13 +0000 |
parents | 4b2a2cf80be6 |
children | 02615af9ba70 |
line wrap: on
line diff
--- a/src/ChangeLog Sun Jan 04 08:39:31 2009 +0000 +++ b/src/ChangeLog Sun Jan 04 11:30:13 2009 +0000 @@ -1,3 +1,15 @@ +2009-01-04 Juanma Barranquero <lekktu@gmail.com> + + * w32.c: Use 64-bit arithmetic to do FILETIME conversions. (Bug#1766) + (utc_base): Declare as ULONGLONG, not long double. + (convert_time_raw): Delete. + (FILETIME_TO_U64, U64_TO_LISP_TIME): New macros. + (initialize_utc_base): New function. + (convert_time): Use FILETIME_TO_U64, initialize_utc_base. + (convert_from_time_t): Use initialize_utc_base; compute result with + 64-bit arithmetic. + (process_times): Use FILETIME_TO_U64, U64_TO_LISP_TIME. + 2009-01-03 Eli Zaretskii <eliz@gnu.org> * process.c (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess)