baseunix. fpUtime() can't set 64-bit timestamps in 32-bit programs (y2038 problem)
Original Reporter info from Mantis: Hartmut @Hartmut2
-
Reporter name:
Original Reporter info from Mantis: Hartmut @Hartmut2
- Reporter name:
Description:
When you call baseunix.fpUtime() in a 32-bit program it uses a record, where the 2 timestamps are only in 32-bit variables. Currently it is not possible to set 64-bit timestamps in a 32-bit program, which causes the y2038 problem.
PascalDragon asked me to create this report in the forum in https://forum.lazarus.freepascal.org/index.php/board,32.0.html (reply #3) so that this issue won't be forgotten.
Mantis conversion info:
- Mantis ID: 38419
- OS: Ubuntu
- OS Build: 18.04
- Platform: Linux
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 48470 (#0c77536f)