Accept NULL endptr in bson_ascii_strtoll()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 1.4.0
    • Affects Version/s: 1.3.5
    • Component/s: libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      strtoll(3) allows NULL for its second argument, making (endptr assignment optional. I propose allowing bson_ascii_strtoll() to do the same for consistency.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: