diff options
author | David Terei <davidterei@gmail.com> | 2011-10-25 20:43:23 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-10-25 21:40:50 -0700 |
commit | 378dd2968d07b3780a2944bf91e3228671b51868 (patch) | |
tree | 1ee340dc24967b112afb7d7bf2a065d3b2753238 /libraries/base/GHC/Foreign.hs | |
parent | c9dceb6d3b3ac855d97db8957dcf181658eaf7ae (diff) | |
download | haskell-378dd2968d07b3780a2944bf91e3228671b51868.tar.gz |
Update base for latest Safe Haskell.
Diffstat (limited to 'libraries/base/GHC/Foreign.hs')
-rw-r--r-- | libraries/base/GHC/Foreign.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/base/GHC/Foreign.hs b/libraries/base/GHC/Foreign.hs index 904a81965a..f6f0272164 100644 --- a/libraries/base/GHC/Foreign.hs +++ b/libraries/base/GHC/Foreign.hs @@ -255,3 +255,4 @@ tryFillBufferAndCall encoder null_terminate from0 to_p to_sz_bytes act = do InputUnderflow -> recover encoder from' to' >>= go (iteration + 1) -- These conditions are equally bad InvalidSequence -> recover encoder from' to' >>= go (iteration + 1) -- since the input was truncated/invalid OutputUnderflow -> return Nothing -- Oops, out of buffer during decoding: ask the caller for more + |