]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
mktime: remove incorrect attempt at unusual arithmetics
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Mar 2012 10:00:48 +0000 (03:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 May 2012 21:36:24 +0000 (14:36 -0700)
commit68605433483b08e8a31541d833bf92ff3ecad75c
tree393f517cda29f215bd11cde8204be5c7f8049ce4
parent03cf7fe31be5964707a54ed82969b9c181f8dd99
mktime: remove incorrect attempt at unusual arithmetics

* time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
The code didn't really work on such machines anyway.
(TYPE_MINIMUM): Assume two's complement.
(twos_complement_arithmetic): Verify that long_int and time_t
are two's complement (or unsigned, in the latter case).
ChangeLog
time/mktime.c