[prev in list] [next in list] [prev in thread] [next in thread]
List: perl5-changes
Subject: [Perl/perl5] abe403: various: timespec/timeval.tv_sec is time_t, not lo...
From: Karl Williamson via perl5-changes <perl5-changes () perl ! org>
Date: 2023-08-21 14:15:15
Message-ID: Perl/perl5/push/refs/heads/blead/19a602-abe403 () github ! com
[Download RAW message or body]
Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: abe403b1902de63cfb404c916d62bc28c05d4096
https://github.com/Perl/perl5/commit/abe403b1902de63cfb404c916d62bc28c05d4096
Author: Alexander Kanavin <alex@linutronix.de>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M AUTHORS
M dist/threads-shared/lib/threads/shared.pm
M dist/threads-shared/shared.xs
M doio.c
M pp_sys.c
Log Message:
-----------
various: timespec/timeval.tv_sec is time_t, not long, according to POSIX
This matters on 32 bit systems configured with 64 bit time_t
(so they survive beyond 2038). Casting them to long is causing loss of bits
and badly mismatched time data.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic