[Haskell-cafe] ANN: unix-bytestring 0.3.7

wren ng thornton wren at freegeek.org
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.

0.3.5.3 (2012-02-21):
    - Foreign.C.Error.Safe: changed (Num a) to (Eq a, Num a) for
      GHC 7.4

0.3.5.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-2.6.0.1, and I've just
backported their fix, cf:

    *
<https://github.com/ghc/packages-base/blob/master/System/Posix/Internals.hs#L414>
    *
<https://github.com/ghc/packages-unix/blob/master/System/Posix/IO/Common.hsc#L306>


--------------------------------------------
-- Links
--------------------------------------------

Homepage:
    http://code.haskell.org/~wren/

Hackage:
    http://hackage.haskell.org/package/unix-bytestring

Darcs:
    http://community.haskell.org/~wren/unix-bytestring

Haddock (Darcs version):
    http://community.haskell.org/~wren/unix-bytestring/dist/doc/html/unix-bytestring/

-- 
Live well,
~wren





More information about the Haskell-Cafe mailing list