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
Packages
Cabal
Commits
1c60cbc2
Commit
1c60cbc2
authored
Aug 15, 2014
by
Mikhail Glushenkov
Browse files
s/2.15/2.14.4/
See
https://github.com/haskell/cabal/issues/1721#issuecomment-52210898
parent
533d2f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/Haddock.hs
View file @
1c60cbc2
...
...
@@ -408,7 +408,7 @@ renderArgs verbosity tmpFileOpts version comp args k = do
createDirectoryIfMissingVerbose
verbosity
True
outputDir
withTempFileEx
tmpFileOpts
outputDir
"haddock-prolog.txt"
$
\
prologFileName
h
->
do
do
when
(
version
>=
Version
[
2
,
1
5
]
[]
)
(
hSetEncoding
h
utf8
)
when
(
version
>=
Version
[
2
,
1
4
,
4
]
[]
)
(
hSetEncoding
h
utf8
)
hPutStrLn
h
$
fromFlag
$
argPrologue
args
hClose
h
let
pflag
=
"--prologue="
++
prologFileName
...
...
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