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:
524c42a
)
[project @ 2000-03-13 10:28:51 by simonmar]
author
simonmar
<unknown>
Mon, 13 Mar 2000 10:28:51 +0000
(10:28 +0000)
committer
simonmar
<unknown>
Mon, 13 Mar 2000 10:28:51 +0000
(10:28 +0000)
Pick up the pieces after Sven's Saturday Night Fever :)
ghc/compiler/utils/FastString.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/FastString.lhs
b/ghc/compiler/utils/FastString.lhs
index
80b8c39
..
1765b72
100644
(file)
--- a/
ghc/compiler/utils/FastString.lhs
+++ b/
ghc/compiler/utils/FastString.lhs
@@
-626,7
+626,7
@@
hPutFS handle (FastString _ l# ba#)
| l# ==# 0# = return ()
#if __GLASGOW_HASKELL__ < 405
| otherwise = hPutBufBA handle (ByteArray bot ba#) (I# l#)
-#elsif __GLASGOW_HASKELL__ < 407
+#elif __GLASGOW_HASKELL__ < 407
| otherwise = hPutBufBA handle (ByteArray bot bot ba#) (I# l#)
#else
| otherwise = do mba <- stToIO $ unsafeThawByteArray (ByteArray (bot::Int) bot ba#)