summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Foreign.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-10-25 20:43:23 -0700
committerDavid Terei <davidterei@gmail.com>2011-10-25 21:40:50 -0700
commit378dd2968d07b3780a2944bf91e3228671b51868 (patch)
tree1ee340dc24967b112afb7d7bf2a065d3b2753238 /libraries/base/GHC/Foreign.hs
parentc9dceb6d3b3ac855d97db8957dcf181658eaf7ae (diff)
downloadhaskell-378dd2968d07b3780a2944bf91e3228671b51868.tar.gz
Update base for latest Safe Haskell.
Diffstat (limited to 'libraries/base/GHC/Foreign.hs')
-rw-r--r--libraries/base/GHC/Foreign.hs1
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
+