ANN: unix-bytestring 0.3.7

wren ng thornton wren at
Mon Sep 9 02:49:45 CEST 2013

-- unix-bytestring 0.3.7

The unix-bytestring package offers a full selection of Unix/Posix-specific
functions for reading and writing ByteStrings to Fds.

-- Changes (since 0.3.4)

Most of the changes are for portability with newer versions of GHC, though
the 0.3.7 release corrects a major bug on certain systems. I'd like to
thank John Lato, Kazu Yamamoto, and Gergely Risko for their help with
these patches.

0.3.5 (2011-06-29):
    - System.Posix.IO.ByteString: added fdSeek, tryFdSeek.
    - Foreign.C.Error.Safe: added. (2012-02-21):
    - Foreign.C.Error.Safe: changed (Num a) to (Eq a, Num a) for
      GHC 7.4 (2012-08-23):
    - System.Posix.IO.ByteString: adjusted some imports for GHC 7.6
    - Removed the custom Setup.hs, for compatibility with GHC 7.6

0.3.6 (2013-05-29):
    - System.Posix.Types.Iovec: adjusted unsafeForeignPtrToPtr for
      GHC 7.8

0.3.7 (2013-08-08):
    - System.Posix.IO.ByteString: corrected a bug in fdSeek and tryFdSeek
where the return value was always 0 on largefile i686 systems due to
the underlying C function being (undocumentedly) implemented as a
macrocall. This had been fixed in unix-, and I've just
backported their fix, cf:


-- Links




Haddock (Darcs version):

Live well,

More information about the Libraries mailing list