Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
90dc6993
Commit
90dc6993
authored
Sep 12, 2007
by
Simon Marlow
Browse files
esacpe backslashes in the filename in the .rc file
parent
4fb923d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DriverPipeline.hs
View file @
90dc6993
...
...
@@ -1330,8 +1330,10 @@ maybeCreateManifest dflags exe_filename = do
rc_obj_filename
<-
newTempName
dflags
(
objectSuf
dflags
)
writeFile
rc_filename
$
"1 24 MOVEABLE PURE
\"
"
++
manifest_filename
++
"
\
"\n
"
"1 24 MOVEABLE PURE "
++
show
manifest_filename
++
"
\n
"
-- magic numbers :-)
-- show is a bit hackish above, but we need to esacpe the
-- backslashes in the path.
let
wr_opts
=
getOpts
dflags
opt_windres
runWindres
dflags
$
map
SysTools
.
Option
$
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment