Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2220

cleanup time_t usage.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • None

    Description

      WiredTiger treats time_t as an integral type, and it's only guaranteed to be an arithmetic type, plus there's no guarantee the value is represented in any particular way, so arithmetic operations aren't necessarily safe.

      I can't imagine it's a real bug, but it's also an easy change to be safe.

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic (Inactive)
              keith.bostic@mongodb.com Keith Bostic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: