This bug has been lying here for fifteen years. Obviously we need
more MIT Scheme hackers in the western hemisphere...
All this time and date code desperately needs a lot of automatic
tests, too.
(ts . time_zone)
= (((len > 9)
&& (INTEGER_P (VECTOR_REF (vec, 9)))
- && (integer_to_ulong_p (VECTOR_REF (vec, 9))))
- ? (integer_to_ulong (VECTOR_REF (vec, 9)))
+ && (integer_to_long_p (VECTOR_REF (vec, 9))))
+ ? (integer_to_long (VECTOR_REF (vec, 9)))
: INT_MAX);
PRIMITIVE_RETURN (intmax_to_integer (OS_encode_time (&ts)));
}