This project is mirrored from https://github.com/haskell/unix. Pull mirroring updated .
  1. 16 Nov, 2015 3 commits
  2. 19 Dec, 2014 4 commits
  3. 15 Dec, 2014 1 commit
  4. 07 Dec, 2014 1 commit
    • Herbert Valerio Riedel's avatar
      Wrap fsync(2) and fdatasync(2) · 98eced86
      Herbert Valerio Riedel authored
      
      
      This adds two new functions in `System.Posix.Unistd`
      
       - `fileSynchronise` (aka `fsync(2)`), and
       - `fileSynchroniseDataOnly` (aka `fdatasync(2)`)
      
      This is based on part of #7 and has been heavily refactored from its
      original patch submission by Ricardo Catalinas Jiménez.
      
      This also bumps version to 2.7.1.0 as a minor version bump is now needed.
      Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      98eced86
  5. 06 Dec, 2014 3 commits
  6. 18 Oct, 2014 2 commits
    • Herbert Valerio Riedel's avatar
      Use CAPI FFI imports for `truncate` · bc4bd179
      Herbert Valerio Riedel authored
      This makes sure we pick up the LFS version of `truncate` in case `off_t`
      is affected by CPP defines such as `_FILE_OFFSET_BITS`.
      bc4bd179
    • Herbert Valerio Riedel's avatar
      Use correct POSIX offset-type for tell/seekdir · 43343c15
      Herbert Valerio Riedel authored
      This fixes the FFI imports to use the proper `CLong` type over the
      previous incorrect `COff` type, as using the wrong argument type can
      cause problems when the `long` and `off_t` types have different size.
      
      Historic note from the manual page:
      
        In glibc up to version 2.1.1, the return type of telldir() was off_t.
        POSIX.1-2001 specifies long, and this is the type used since glibc
        2.1.2 (released in 1999).
      43343c15
  7. 10 Sep, 2014 1 commit
    • kgardas's avatar
      fix getGroupEntryForID/Name on Solaris · 3c28bc83
      kgardas authored
      This patch fixes getGroupEntryForID and getGroupEntryForName on Solaris
      The issue on Solaris is that it defines both required getgrgid_r
      and getgrnam_r functions as CPP macros which depending on configuration
      are mapped to real function implementations with different names.
      The issue is solved by using C API calling convention instead of platform
      C ABI calling convention.
      3c28bc83
  8. 09 Sep, 2014 1 commit
  9. 22 Mar, 2014 1 commit
  10. 28 Feb, 2014 2 commits
  11. 06 Feb, 2014 1 commit
  12. 02 Feb, 2014 1 commit