This project is mirrored from https://github.com/haskell/unix. Pull mirroring updated .
  1. 03 Dec, 2015 1 commit
  2. 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
  3. 26 Feb, 2012 1 commit
  4. 09 Jan, 2012 2 commits
  5. 06 Jan, 2012 1 commit
  6. 29 Jun, 2011 1 commit
  7. 23 Jul, 2009 1 commit
    • Simon Marlow's avatar
      NetBSD does not have support for symbol versioning, so updated systen · 4eac1ce4
      Simon Marlow authored
      functions need to be given a new name, and the header files contain
      some __asm hackery in order to let the program call the correct function.
      
      This mean that you need to use the header files in order to call the
      correct system functions, which prevents things like "foreign import ccall" from working.
      
      Ghc solves this with wrapper functions for some of the renamed functions,
      but it has not been updated for newer versions of NetBSD that has recently
      versioned some more functions.
      
      The attached patches introduces wrapper functions for all currently
      NetBSD-versioned functions used in libraries/unix.  Solves ~20 testsuite
      failures.
      
      Contributed by: Krister Walfridsson <krister.walfridsson@gmail.com>
      4eac1ce4
  8. 11 Feb, 2009 1 commit
  9. 21 Aug, 2008 1 commit
  10. 03 Jul, 2008 1 commit
  11. 15 Jun, 2008 1 commit
  12. 25 Sep, 2007 1 commit
  13. 26 Feb, 2007 1 commit
  14. 20 Sep, 2005 1 commit
  15. 19 Sep, 2005 1 commit
  16. 04 Aug, 2005 1 commit
  17. 08 Mar, 2005 1 commit
    • wolfgang's avatar
      [project @ 2005-03-08 04:45:38 by wolfgang] · 7e37fa9f
      wolfgang authored
      Mac OS X:
      Kill HaskellSupport.framework.
      Instead, look for GMP.framework (a framework-version of libgmp), else look
      for a normal -lgmp as usual.
      The other part of HaskellSupport.framework, dlcompat, is no longer needed
      (as of Mac OS X 10.3, it's included in libSystem).
      It's enough to just use the normal configure tests for -ldl.
      
      MERGE TO STABLE
      7e37fa9f
  18. 28 Jan, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-01-28 13:36:36 by simonmar] · 0d67b5ff
      simonmar authored
      Catch up with updates to platform #defines.
      
      Generally: use _HOST_ rather than _TARGET_ (except in Cabal where we
      have to retain compatibility with previous GHC versions).
      0d67b5ff
  19. 12 Nov, 2004 1 commit
    • stolz's avatar
      [project @ 2004-11-12 14:56:13 by stolz] · ff439442
      stolz authored
      Fix previous commit:
      Don't handle Solaris2-flag _POSIX_PTHREAD_SEMANTICS in configure at all
      but simply #ifdef solaris2_TARGET_OS #define ... it in the header-file.
      ff439442
  20. 08 Oct, 2004 2 commits
  21. 06 Oct, 2004 1 commit
  22. 29 Sep, 2004 1 commit
    • simonmar's avatar
      [project @ 2004-09-29 15:50:54 by simonmar] · ac941dea
      simonmar authored
      Process reorganisation: the System.Process library moves into base,
      and System.Cmd is re-implemented in terms of it.
      
      Thanks to Krasimir Angelov, we have a version of System.Process that
      doesn't rely on the unix or Win32 libraries.  Normally using
      unix/Win32 would be the right thing, but since we want to implement
      System.Cmd on top of this, and GHC uses System.Cmd, we can't introduce
      a bunch of .hsc dependencies into GHC's bootstrap libraries.
      
      So, the new version is larger, but has fewer dependencies.  I imagine
      it shouldn't be too hard to port to other compilers.
      ac941dea
  23. 22 Sep, 2004 1 commit
    • panne's avatar
      [project @ 2004-09-22 09:14:23 by panne] · c6931a54
      panne authored
      As a temporary measure, use an ultra-evil sledgehammer method to silence the
      PACKAGE_FOO clashes. The correct way of doing this would be splitting up
      HsPACKAGE.h and ghcconfig.h into two parts each: One part would be generated by
      autoheader and would contain the defines which are needed during package build
      time only. The other part would contain all kinds of stuff which is needed for
      using the given package (no PACKAGE_FOO defines here). For an example of this,
      see the OpenAL package. As an additional benefit, this would keep the namespace
      much cleaner, because 2nd kind of headers is typically smaller.
      
      No time for the real thing currently, hope the current workaround works...
      c6931a54
  24. 15 Sep, 2004 1 commit
    • stolz's avatar
      [project @ 2004-09-15 15:55:45 by stolz] · 2805c7ce
      stolz authored
      Add System.Posix.Signals.Exts which re-exports S.P.Signals and adds the
      two signals SIGINFO on (*BSD) and SIGWINCH (most Unices) which are not
      in POSIX.
      You should use cpp to test if those are defined before using them. This is
      encouraged by not providing dummy-definitions on platforms which do not
      offer that particular flavour.
      2805c7ce
  25. 02 Sep, 2004 1 commit
  26. 13 Aug, 2004 1 commit
  27. 05 Feb, 2004 1 commit
    • ross's avatar
      [project @ 2004-02-05 11:46:00 by ross] · ca125f0e
      ross authored
      Hugs only: use the configure-set variable INLINE_ONLY instead of
      `extern inline' (which works for gcc but not C99 compilers).
      ca125f0e
  28. 15 Dec, 2003 1 commit
  29. 06 Jun, 2003 1 commit
    • stolz's avatar
      [project @ 2003-06-06 12:49:00 by stolz] · 1c399d00
      stolz authored
      Move System.Sendfile to Network.Sendfile:
       - Linux can sendfile() to a fd, but BSD couldn't
       - sendfile() on Linux is probably now disabled on most builds because of
           the LARGEFILE issue
       => Change API to use type Socket
      1c399d00
  30. 28 May, 2003 1 commit
  31. 08 May, 2003 1 commit
  32. 11 Apr, 2003 2 commits
  33. 03 Mar, 2003 1 commit
  34. 28 Feb, 2003 1 commit
  35. 17 Jan, 2003 1 commit
    • stolz's avatar
      [project @ 2003-01-17 17:01:14 by stolz] · c1d6305e
      stolz authored
      - Add sendfile-API for pumping out data via sendfile(2)
        Currently supported are Linux (tested) & FreeBSD (not tested yet), others
        will throw a runtime error until I get around to implement a fallback.
      c1d6305e
  36. 19 Dec, 2002 1 commit
    • simonmar's avatar
      [project @ 2002-12-19 13:52:55 by simonmar] · f46082b6
      simonmar authored
      Fill in some more bits in the new Unix library: specifically the
      contents of PosixTTY and PosixDB (now System.Posix.Terminal and
      System.Posix.User respectively).
      
      We're now about 95% complete w.r.t. the old posix library.  I've
      identified the reminaing bits to do in System/Posix.hs.
      f46082b6
  37. 08 Oct, 2002 1 commit
    • wolfgang's avatar
      [project @ 2002-10-08 08:03:02 by wolfgang] · 1af096d3
      wolfgang authored
      Make the new Posix bindings compile on Mac OS X.
      Most notable, Mac OS X lacks
      *) lchown
      *) SIGPOLL
      I don't know of a replacement of either, so they are just left out when
      they are not detected by configure.
      1af096d3