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

cleanup time_t usage.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: