Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-853

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.2
    • Affects Version/s: 1.2.1
    • Component/s: 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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: