This project is mirrored from https://github.com/haskell/unix. Pull mirroring updated .
  1. 03 Dec, 2015 1 commit
  2. 08 Mar, 2015 1 commit
    • argiopeweb's avatar
      Adds a more comprehensive check for fdatasync · b06446ed
      argiopeweb authored
      Some versions of OS X have fdatasync in the headers but don't include implementations in the standard library. This leads to a compile failure in configure.ac when using AC_CHECK_FUNCS.
      
      This change explicitly attempts to compile a file containing a call to fdatasync and properly sets the AC_CHECK_FUNCS flags depending on the result of compilation.
      b06446ed
  3. 19 Dec, 2014 1 commit
    • Erik de Castro Lopo's avatar
      Fix SIGINFO and SIGWINCH. · 3c4ced48
      Erik de Castro Lopo authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
      It seems these two signals have not been working since at least
      2009. Detection of these signals seems to have never been added to
      the configure.ac script and the code guarded by #ifdef then bit-rotted
      (the idiom used to handle these signals seems to have been abandoned
      for something simpler/better in 2009). This fix simply handles these
      signals the same way the other signals are handled in
      System/Posix/Signals.hsc.
      
      Closes #30 and #31
      3c4ced48
  4. 15 Dec, 2014 1 commit
  5. 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
  6. 06 Dec, 2014 2 commits
    • Herbert Valerio Riedel's avatar
      Refactor local `execvpe(3)` implementation · f24ba78f
      Herbert Valerio Riedel authored
      The previous code was prone to conflicts with when the platform happens
      to expose a `execvpe(3)` implementation in its libc.
      
      This commit renames the internal implementation to `__hsunix_execvpe` as
      well as adding an autoconf-detection for the presence of `execvpe(3)`,
      in which case `__hsunix_execvpe()` forwards the call to `execvpe(3)`.
      
      Moreover, the code has been cleaned up to remove likely bitrotted CPP
      conditionals.
      
      This should fix #22
      
      (This also partially addresses #11 on platforms which have a
      libc-provided `execvpe(3)`)
      f24ba78f
    • ip1981's avatar
      Do not blindly add libdl to extra libraries · 123fcba7
      ip1981 authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
      On some systems dlopen() is available without libdl (illumos, solaris).
      Sometimes libdl.so cannot be loaded by runtime linker, see
      https://ghc.haskell.org/trac/ghc/ticket/8713
      
      Closes #8
      123fcba7
  7. 18 Oct, 2014 1 commit
  8. 04 Jul, 2014 3 commits
  9. 29 Sep, 2013 1 commit
  10. 21 May, 2013 1 commit
  11. 30 Jan, 2013 2 commits
  12. 03 Sep, 2012 1 commit
  13. 17 Jul, 2012 1 commit
  14. 04 Apr, 2012 1 commit
  15. 09 Jan, 2012 1 commit
  16. 29 Jun, 2011 1 commit
  17. 01 Jan, 2011 1 commit
  18. 27 Jan, 2010 1 commit
  19. 21 Dec, 2009 1 commit
  20. 25 Jun, 2009 1 commit
  21. 16 Jun, 2009 1 commit
  22. 30 Jan, 2009 1 commit
  23. 29 Nov, 2008 1 commit
    • kili's avatar
      fix pthread linkage problem for openbsd · 370303a7
      kili authored
      This should make my openbsd build slave happy when SplitObjs=NO.
      May be useful for other BSDs and even Linux, regardless wether you
      need -pthread or -lpthread. Time will tell...
      370303a7
  24. 03 Jul, 2008 1 commit
  25. 13 Feb, 2008 1 commit
    • jeremy.shaw@linspireinc.com's avatar
      add AC_SYS_LARGEFILE check to configure.ac · e89d3e4d
      jeremy.shaw@linspireinc.com authored
      As explained in this thread:
      
      http://www.haskell.org/pipermail/haskell-cafe/2008-February/039549.html
      
      getSymbolicLinkStatus (and possibly other functions) return completely
      bogus results. This is because hsc2hs returns the offsets for stat64,
      but the library is built such that it calls the 32 bit lstat call.
      
      I copied the AC_SYS_LARGEFILE from ghc's configure.ac. So, I believe
      the library should now properly autodetect whether your system has
      large file support and do the right thing more often. I suspect that
      this would still be buggy if ghc was built without large file support,
      but the library was built with it enabled. However, as long as
      AC_SYS_LARGEFILE returns the same results for 'ghc' and 'unix', things
      should be ok ?
      e89d3e4d
  26. 25 Sep, 2007 1 commit
  27. 16 Sep, 2007 1 commit
  28. 19 Aug, 2007 1 commit
  29. 14 Aug, 2007 1 commit
  30. 02 Mar, 2007 1 commit
  31. 31 Aug, 2006 1 commit
  32. 30 Aug, 2006 1 commit
  33. 19 Aug, 2006 1 commit
  34. 20 Sep, 2005 2 commits
  35. 25 Jan, 2005 1 commit