Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8199428

install-file macro fails on filenames with space on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • infrastructure
    • None
    • b05
    • solaris

      A while back I implemented support for handling filenames with space in them in the macros SetupCopyFiles and install-file. To verify this functionality I added tests to our test-make suite. These tests currently fail on Solaris. We currently don't use this functionality on Solaris, but keeping the tests passing is still preferable.

      The problem is when using the $(@D) and $(@<) variants to extract the directory or filename of the target or source file in a recipe, we first need to EncodeSpace, as otherwise the ? seems to be evaluating before the implicit $(dir) or $(notdir) is called.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: