mongodb/mongo-c-driver — pull request #87 by contil (2013-03-16 19:01:37+00:00)
Title: CDRIVER-195 Amended bson_oid_generated_time and bson_oid_gen for 64bits. Created test

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.