Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1231

When patching include paths to use 'mnmlstc', avoid filename collisions (PR #582)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:

      Tracking ticket for PR-582:

      By default, perl's "-i" option tells it to:

      Open the specified file.
      Unlink the file.
      Create a new file with the same name.
      Copy the old file to the new file, transforming it per the regex.
      This is not valid on Windows because you can't have two files with the same name, even if one of them has been unlinked.

      The quick fix is to tell Perl to instead create a backup file, so it moves the original file rather than unlinking it.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: