From: simonmar Date: Mon, 13 Mar 2000 10:28:51 +0000 (+0000) Subject: [project @ 2000-03-13 10:28:51 by simonmar] X-Git-Tag: Approximately_9120_patches~5012 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=31b58a939468fb6c245a4beb5dcbd75f03c4e76c;p=ghc-hetmet.git [project @ 2000-03-13 10:28:51 by simonmar] Pick up the pieces after Sven's Saturday Night Fever :) --- diff --git a/ghc/compiler/utils/FastString.lhs b/ghc/compiler/utils/FastString.lhs index 80b8c39..1765b72 100644 --- 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#)