Don't throw an error if the output buffer had no room
authorSimon Marlow <marlowsd@gmail.com>
Wed, 24 Nov 2010 16:42:21 +0000 (16:42 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 24 Nov 2010 16:42:21 +0000 (16:42 +0000)
commit85ed71ab833a40f5acfeb4610a0aa3c3c3e1a35b
treec217583db354325d62b7b987d3c5c1bc6adced7a
parentcdc356f8844b93fc3ad8748c8e6fa6b82fa27dad
Don't throw an error if the output buffer had no room
This is consistent with the other codecs, and will be relied on by
some upcoming changes in the IO library.
GHC/IO/Encoding/Iconv.hs