projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b85c1c
)
[project @ 2001-06-29 10:35:09 by rrt]
author
rrt
<unknown>
Fri, 29 Jun 2001 10:35:09 +0000
(10:35 +0000)
committer
rrt
<unknown>
Fri, 29 Jun 2001 10:35:09 +0000
(10:35 +0000)
Stop copy adding a newline to the end of the copy
ghc/compiler/main/SysTools.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/SysTools.lhs
b/ghc/compiler/main/SysTools.lhs
index
6b88692
..
d393d97
100644
(file)
--- a/
ghc/compiler/main/SysTools.lhs
+++ b/
ghc/compiler/main/SysTools.lhs
@@
-410,7
+410,7
@@
copy purpose from to =
h <- openFile to WriteMode
ls <- readFile from -- inefficient, but it'll do for now.
-- ToDo: speed up via slurping.
- hPutStrLn h ls
+ hPutStr h ls
hClose h) `catchAllIO`
(\_ -> throwDyn (PhaseFailed purpose (ExitFailure 1)))
\end{code}