diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-03-16 03:00:48 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-23 14:36:24 -0700 |
commit | 68605433483b08e8a31541d833bf92ff3ecad75c (patch) | |
tree | 393f517cda29f215bd11cde8204be5c7f8049ce4 /streams | |
parent | 03cf7fe31be5964707a54ed82969b9c181f8dd99 (diff) | |
download | glibc-68605433483b08e8a31541d833bf92ff3ecad75c.zip glibc-68605433483b08e8a31541d833bf92ff3ecad75c.tar.gz glibc-68605433483b08e8a31541d833bf92ff3ecad75c.tar.bz2 |
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 'streams')
0 files changed, 0 insertions, 0 deletions