Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/unix. Pull mirroring updated .
  1. Jan 25, 2013
    • Simon Marlow's avatar
      Indicate whether a process dumped core in the ProcessStatus · dc29d55b
      Simon Marlow authored
      The Bool field of Terminated is new, as is the documentation:
      
      data ProcessStatus
         = Exited ExitCode        -- ^ the process exited by calling
                                  -- @exit()@ or returning from @main@
         | Terminated Signal Bool -- ^ the process was terminated by a
                                  -- signal, the @Bool@ is @True@ if a core
                                  -- dump was produced
         | Stopped Signal         -- ^ the process was stopped by a signal
         deriving (Eq, Ord, Show)
      
      This is an API change, hence will need a major version bump.
      dc29d55b
  2. Dec 15, 2012
  3. Oct 19, 2012
  4. Jan 09, 2012
  5. Jan 06, 2012
  6. Aug 01, 2011
    • Ian Lynagh's avatar
      Remove some antiquated C constructs · 97adc8f6
      Ian Lynagh authored
      Fixes validate on amd64/Linux with:
      
      SRC_CC_OPTS += -Wmissing-parameter-type
      SRC_CC_OPTS += -Wold-style-declaration
      SRC_CC_OPTS += -Wold-style-definition
      97adc8f6
  7. Jul 23, 2009
    • 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. Jun 25, 2009
  9. Feb 11, 2009
  10. Aug 21, 2008
  11. Sep 12, 2007
  12. Aug 11, 2007
  13. Jul 29, 2007
  14. Apr 07, 2006
  15. Sep 29, 2004
    • 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
  16. Oct 05, 2002
  17. Sep 12, 2002
Loading