Quote paths in linker scripts

RESOLVED FIXED in mozilla15

Status

()

Core
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: mwu, Assigned: mwu)

Tracking

unspecified
mozilla15
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 625376 [details] [diff] [review]
Add double quotes around paths in linker scripts

Exotic paths kill linking if there are no double quotes.
Attachment #625376 - Flags: review?(mh+mozilla)
Comment on attachment 625376 [details] [diff] [review]
Add double quotes around paths in linker scripts

Review of attachment 625376 [details] [diff] [review]:
-----------------------------------------------------------------

::: config/expandlibs_exec.py
@@ +125,4 @@
>          if not len(objs): return
>          fd, tmp = tempfile.mkstemp(suffix=".list",dir=os.curdir)
>          if conf.EXPAND_LIBS_LIST_STYLE == "linkerscript":
> +            content = ["INPUT(\"%s\")\n" % obj for obj in objs]

I'd prefer to avoid the backslashes by switching the string to single quotes.
Attachment #625376 - Flags: review?(mh+mozilla) → review+
(Assignee)

Comment 2

5 years ago
Switched to single quotes, fixed the test.

https://hg.mozilla.org/integration/mozilla-inbound/rev/da3c5b7c2c7e
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/da3c5b7c2c7e
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.