Skip to content
Snippets Groups Projects

GHC settings: always unescape escaped spaces

Open sheaf requested to merge sheaf/ghc:T25204 into master

In #25204, it was noted that GHC didn't properly deal with having spaces in its executable path, as it would compute an invalid path for the C compiler.

The original fix in 31bf85ee used a trick: escape spaces before splitting up flags into a list. This fixed the behaviour with extra flags (e.g. -I), but forgot to also unescape for non-flags, e.g. for an executable path (such as the C compiler).

This commit rectifies this oversight by consistently unescaping the spaces that were introduced in order to split up argument lists.

Merge request reports

Members who can merge are allowed to add commits.
Approval is optional
Test summary results are being parsed
Merge blocked: 2 checks failed

Merge details

  • The source branch is 41 commits behind the target branch.
  • 1 commit will be added to master.
  • Source branch will be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading