Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2423

Undefined BSON_HAS_RAND_R in libbson

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.0
    • Component/s: libbson
    • Labels:
      None

      Description

      I noticed that bson-context.c has

      {#ifndef BSON_HAS_RAND_R}

      however this macro is never defined so it is always true, making the subsequent

      {#elif}

      and

      {#else}

      redundant?

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Jeroenooms Jeroen Ooms [X] (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: