Skip to content

Fix an issue with year 2038 - #1492

Open
bmwiedemann wants to merge 1 commit into
Toblerity:mainfrom
bmwiedemann:y2038
Open

Fix an issue with year 2038#1492
bmwiedemann wants to merge 1 commit into
Toblerity:mainfrom
bmwiedemann:y2038

Conversation

@bmwiedemann

Copy link
Copy Markdown

after 2038-01-19, UNIX timestamps no longer fit into a signed 32-bit int, which caused the test_opener_interface to fail with

fiona/_vsiopener.pyx:93: OverflowError

note: I only tested that it builds and passes tests. Please give it a good review and some extra testing of the affected code. Maybe use touch -d 2039-01-01 somefile to produce large mtime values.

This patch was done while working on reproducible builds for openSUSE.

after 2038-01-19, UNIX timestamps no longer fit into a signed
32-bit int, which caused the test_opener_interface to fail with

    fiona/_vsiopener.pyx:93: OverflowError

note: I only tested that it builds and passes tests.

This patch was done while working on reproducible builds for openSUSE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant