golang/go
Vedi su GitHubsyscall: updates types related to "time_t" to 64-bit on linux/arm
Open
#60.248 aperta il 17 mag 2023
NeedsInvestigationcompiler/runtimehelp wanted
Metriche repository
- Star
- (133.883 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
What version of Go are you using (go version)?
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
linux/arm
What did you do?
What did you expect to see?
I'm hoping it can be made compatible with the 64-bit "time_t" type to solve the "2038 problem".
What did you see instead?
All types in ztypes_linux_arm.go related to "time_t" are 32-bit (such as Timespec, Timeval, Time_t, etc.). However, as of Linux 5.10, all "time_t"-related types have been updated to 64-bit (although I'm not certain from which kernel version this change was made).