YunQiang Su a9acb7b39e Define in_int32_t_range to check if the 64 bit time_t syscall should be used
Currently glibc uses in_time_t_range to detects time_t overflow,
and if it occurs fallbacks to 64 bit syscall version.

The function name is confusing because internally time_t might be
either 32 bits or 64 bits (depending on __TIMESIZE).

This patch refactors the in_time_t_range by replacing it with
in_int32_t_range for the case to check if the 64 bit time_t syscall
should be used.

The in_time_t range is used to detect overflow of the
syscall return value.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022-11-17 14:35:13 -03:00
..
2016-10-28 22:40:16 -04:00
2021-06-22 12:09:52 -03:00
2021-12-28 22:52:56 +01:00
2022-07-29 17:59:01 -04:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2017-04-07 07:45:53 -04:00
2022-04-19 15:52:27 -07:00
2021-07-22 18:38:04 +05:30
2021-09-15 22:57:35 +00:00
2021-07-07 18:33:52 +02:00
2021-06-30 08:43:37 +02:00
2021-09-21 08:00:44 -07:00
2019-05-02 11:42:51 +02:00
2019-10-09 17:48:41 -03:00
2022-09-17 19:58:30 +00:00
2021-06-30 08:43:37 +02:00
2019-11-06 09:20:52 -03:00
2022-05-13 19:15:46 +05:30