Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
90119466
Commit
90119466
authored
Jan 12, 2016
by
Edward Z. Yang
Browse files
Don't double-encode the component name string.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
42177a43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/Configure.hs
View file @
90119466
...
@@ -1574,7 +1574,7 @@ computeCompatPackageKey comp pid cname (SimpleUnitId (ComponentId str))
...
@@ -1574,7 +1574,7 @@ computeCompatPackageKey comp pid cname (SimpleUnitId (ComponentId str))
=
pkgName
pid
=
pkgName
pid
|
otherwise
|
otherwise
=
PackageName
$
"z-"
++
zdashcode
(
display
(
pkgName
pid
))
=
PackageName
$
"z-"
++
zdashcode
(
display
(
pkgName
pid
))
++
zdashcode
cname_str
++
cname_str
mkComponentsLocalBuildInfo
::
ConfigFlags
mkComponentsLocalBuildInfo
::
ConfigFlags
->
Compiler
->
Compiler
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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