[project @ 2001-06-29 10:35:09 by rrt]
[ghc-hetmet.git] / ghc / compiler / main / SysTools.lhs
index 6b88692..d393d97 100644 (file)
@@ -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}