config.w32 fails to generate all libmongoc and libbson version constants

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.2
    • Affects Version/s: 1.2.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Two problems to fix:

      • mongodb_parse_version_file() needs to detect if the pre-release string is empty. It currently replaces the "PRERELEASE_VERSION" constants with "undefined" if it is empty.
      • mongodb_generate_header() must do global replacements. Since the version file uses multiple replacements for a single replacement string, the current logic is prone to leaving replacements beyond the first unchanged.

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

              Created:
              Updated:
              Resolved: