Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

CDRIVER-195 Amended bson_oid_generated_time and bson_oid_gen for 64bits. Created test #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

contil
Copy link

@contil contil commented Mar 16, 2013

Added code to handle sizeof (time_t) > 4. As a temporary solution to cope with 4 bytes oid time_t storage I provided for overflow with a AND with INT32_MAX. This is not a Y2038BUG solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant