Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscall: fix a Y2038 bug by replacing Int32x32To64 with multiplication
Int32x32To64 macro internally truncates the arguments to int32, while time_t is 64-bit on most/all modern platforms. Therefore, usage of this macro creates a Year 2038 bug.
- Loading branch information