Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/unix. Pull mirroring updated .
  1. Oct 12, 2013
  2. Aug 11, 2013
  3. Jul 20, 2013
  4. Jun 13, 2013
  5. Feb 14, 2013
  6. Feb 11, 2013
  7. Jan 30, 2013
  8. Jan 25, 2013
  9. Nov 30, 2012
  10. Jul 17, 2012
  11. Mar 30, 2012
  12. Mar 09, 2012
  13. Dec 06, 2011
  14. Nov 22, 2011
    • Simon Marlow's avatar
      Provide a raw ByteString version of FilePath and environment APIs · 34c7bf89
      Simon Marlow authored
      The new module System.Posix.ByteString provides exactly the same API
      as System.Posix, except that:
      
        - There is a new type: RawFilePath = ByteString
      
        - All functions mentioning FilePath in the System.Posix API
          use RawFilePath in the System.Posix.ByteString API
      
        - RawFilePaths are not subject to Unicode locale encoding and
          decoding, unlike FilePaths.  They are the exact bytes passed to and
          returned from the underlying POSIX API.
      
        - Similarly for functions that deal in environment
          strings (System.Posix.Env): these use untranslated ByteStrings
          in System.Posix.Environment
      
        - There is a new function
      
           System.Posix.ByteString.getArgs :: [ByteString]
      
          returning the raw untranslated arguments as passed to exec() when
          the program was started.
      34c7bf89
  15. Nov 21, 2011
  16. Nov 16, 2011
  17. May 23, 2011
  18. Dec 10, 2010
  19. May 18, 2010
  20. Apr 18, 2010
  21. Mar 29, 2010
  22. Dec 31, 2009
  23. Nov 11, 2009
    • Simon Marlow's avatar
      forking works in GHCi too · 2a96023b
      Simon Marlow authored
      Or at least, it works well enough to run this test.  The main GHCi
      thread is gone after forking, but the current evaluation continues to
      run.
      2a96023b
  24. Oct 21, 2009
  25. Oct 08, 2009
  26. Sep 23, 2009
  27. Sep 17, 2009
  28. May 29, 2009
  29. Mar 10, 2009
  30. Feb 19, 2009
    • Simon Marlow's avatar
      Rewrite of signal-handling. · 1c4608e3
      Simon Marlow authored
      The API is the same (for now).  The new implementation has the
      capability to define signal handlers that have access to the siginfo
      of the signal (#592), but this functionality is not exposed in this
      patch.
      
      #2451 is the ticket for the new API.
      
      The main purpose of bringing this in now is to fix race conditions in
      the old signal handling code (#2858).  Later we can enable the new
      API in the HEAD.
      
      Implementation differences:
      
       - More of the signal-handling is moved into Haskell.  We store the
         table of signal handlers in an MVar, rather than having a table of
         StablePtrs in the RTS.
      
       - In the threaded RTS, the siginfo of the signal is passed down the
         pipe to the IO manager thread, which manages the business of
         starting up new signal handler threads.  In the non-threaded RTS,
         the siginfo of caught signals is stored in the RTS, and the
         scheduler starts new signal handler threads.
      1c4608e3
  31. Sep 27, 2008
  32. Jun 23, 2008
  33. May 20, 2008
  34. Jan 15, 2008
  35. Nov 10, 2007
  36. Oct 29, 2007
Loading