about summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-03-16 03:00:48 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-05-23 14:36:24 -0700
commit68605433483b08e8a31541d833bf92ff3ecad75c (patch)
tree393f517cda29f215bd11cde8204be5c7f8049ce4 /login
parent03cf7fe31be5964707a54ed82969b9c181f8dd99 (diff)
downloadglibc-68605433483b08e8a31541d833bf92ff3ecad75c.tar.gz
glibc-68605433483b08e8a31541d833bf92ff3ecad75c.tar.xz
glibc-68605433483b08e8a31541d833bf92ff3ecad75c.zip
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).
Diffstat (limited to 'login')
0 files changed, 0 insertions, 0 deletions