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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Build
    • Labels:
    • Story Points:
      1
    • Sprint:
      Perl/CXX 2017-03-03

      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

            • Assignee:
              david.golden David Golden
              Reporter:
              david.golden David Golden
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: