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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • Build

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: