Leave backslashes in backticks

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Dec 10 12:54:04 UTC 2020


It seems that the mail bot converted `\` into just `` (and `\\` into 
`\`) when sending the mail. It should leave everything inside backticks 
be, since it should not be processed for quoting.

/Magnus


-------- Forwarded Message --------
Subject: 	RFR: 8258005: JDK build fails with incorrect fixpath script
Date: 	Thu, 10 Dec 2020 12:47:44 GMT
From: 	Magnus Ihse Bursie <ihse at openjdk.java.net>
To: 	build-dev at openjdk.java.net



The Leaning Toothpick Syndrome[1] strikes back!

In the fixpath shell script wrapper, we transform single `` to `\`, to 
make them correctly escaped. Unfortunately, the bas variable 
substitution pattern I used were missing a `/`, so it only replaced the 
first backslash, not all of them.

Thanks to @vidmik for analysis and fix!

[1] https://en.wikipedia.org/wiki/Leaning_toothpick_syndrome

-------------

Commit messages:
- 8258005: JDK build fails with incorrect fixpath script

Changes: https://git.openjdk.java.net/jdk/pull/1731/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1731&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8258005
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/1731.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1731/head:pull/1731

PR: https://git.openjdk.java.net/jdk/pull/1731


More information about the skara-dev mailing list