Simon Marlow | 3 Nov 2009 17:58
Picon

patch applied (packages/base): Fix #1185: restart the IO manager after fork()

Tue Nov  3 08:05:40 PST 2009  Simon Marlow <marlowsd <at> gmail.com>
  * Fix #1185: restart the IO manager after fork()
  Ignore-this: 6dc05464f1500104554637f4759738cc

  This is the libraries/base part of the patch; there is a corresponding
  patch to GHC itself.

  The main change is that we now keep track of the IO manager's ThreadId
  in a top-level MVar, and ensureIOManagerIsRunning checks whether a
  previous IO manager thread is alive before starting one.  In the child
  of fork(), we can hence call ensureIOManagerIsRunning to restart the
  IO manager.

    M ./GHC/Conc.lhs -46 +44

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20091103160540-12142-9b38ee1eeb4afc6aae96dff8d7ab6c22c4f83ef7.gz
Simon Marlow | 3 Nov 2009 17:58
Picon

patch applied (packages/base): improve the documentation for throwErrnoIfRetry

Fri Oct 16 04:24:04 PDT 2009  Simon Marlow <marlowsd <at> gmail.com>
  * improve the documentation for throwErrnoIfRetry
  Ignore-this: b77275cacf730e15757946027168f63e

    M ./Foreign/C/Error.hs -2 +3

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20091016112404-12142-f6d79d32f670b98ff3d578fec8199d42e317deb6.gz
Simon Marlow | 3 Nov 2009 18:04
Picon

patch applied (packages/unix): add a test for #1185

Wed Oct 21 02:07:41 PDT 2009  Simon Marlow <marlowsd <at> gmail.com>
  * add a test for #1185
  Ignore-this: 581e367a446bc4a3996b09d39fbb102b

    A ./tests/1185.hs
    A ./tests/1185.stdout
    M ./tests/all.T +10

View patch online:
http://darcs.haskell.org/packages/unix/_darcs/patches/20091021090741-12142-89ab455da916fc3d8166a6d10cda2581ced4e5b6.gz
Simon Marlow | 4 Nov 2009 12:53
Picon

patch applied (packages/filepath): The current directory is ".", not "" (GHC bug #2034) (patch version 2)

Wed Nov  4 02:50:57 PST 2009  Simon Marlow <marlowsd <at> gmail.com>
  * The current directory is ".", not "" (GHC bug #2034) (patch version 2)
  Ignore-this: 4042cd0afb71d8c69a98d0d7c4da99bb

  So now
          splitFileName "foo" = ("./", "foo")

  which gives us the additional property that

  > Valid x => isValid (fst (splitFileName x))

  This property is important, because it means that we can pass the
  result of takeDirectory to any of the functions in System.Directory,
  whereas previously we would have to check for the empty case first.

  After discussion on the libraries list, I removed the second part of
  the original change:

          "." </> x = x

  This small bit of normalisation was there to ensure that the property

  > Valid x => uncurry </> (splitFileName x) == x

  still held.  However, it was arguably inconsistent (see the
  discussion).  Now this property has an exception:

  > Valid x => uncurry (</>) (splitFileName x) == x || fst (splitFileName x) == "./"

  This is a small price to pay to gain the new property above.
(Continue reading)

Simon Marlow | 4 Nov 2009 13:30
Picon

patch applied (packages/filepath): UNDO: The current directory is ".", not "" (GHC bug #2034) (patch version 2)

Wed Nov  4 04:29:43 PST 2009  Simon Marlow <marlowsd <at> gmail.com>
  * UNDO: The current directory is ".", not "" (GHC bug #2034) (patch version 2)
  Ignore-this: 93c3643daca557cead63e3853fbd30e0

  rolling back accidentally pushed patch:

  Wed Nov  4 10:50:57 GMT 2009  Simon Marlow <marlowsd <at> gmail.com>
    * The current directory is ".", not "" (GHC bug #2034) (patch version 2)

    M ./System/FilePath/Internal.hs -26 +14

View patch online:
http://darcs.haskell.org/packages/filepath/_darcs/patches/20091104122943-12142-65f5c44bfaf1a5124ffeac6516ee33407a61a829.gz
Simon Marlow | 4 Nov 2009 13:31
Picon

Re: patch applied (packages/filepath): The current directory is ".", not "" (GHC bug #2034) (patch version 2)

On 04/11/2009 11:53, Simon Marlow wrote:
> Wed Nov  4 02:50:57 PST 2009  Simon Marlow<marlowsd <at> gmail.com>
>    * The current directory is ".", not "" (GHC bug #2034) (patch version 2)

Aaargh!  I pushed this by accident from my validate tree.  Rollback 
patch incoming.
Ian Lynagh | 4 Nov 2009 23:23
Picon
Gravatar

patch applied (packages/base): Fix the build on Windows

Wed Nov  4 09:49:45 PST 2009  Ian Lynagh <igloo <at> earth.li>
  * Fix the build on Windows

    M ./GHC/Conc.lhs -6 +4

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20091104174945-3fd76-0ea64512b7bf09d031ee0266299269a1e6f16621.gz
Simon Marlow | 6 Nov 2009 15:55
Picon

patch applied (packages/base): Rollback #1185 fix

Fri Nov  6 06:06:29 PST 2009  Simon Marlow <marlowsd <at> gmail.com>
  * Rollback #1185 fix
  Ignore-this: cd5667e8474e37e01ba26a1984274811

  rolling back:

  Tue Nov  3 16:05:40 GMT 2009  Simon Marlow <marlowsd <at> gmail.com>
    * Fix #1185: restart the IO manager after fork()

    This is the libraries/base part of the patch; there is a corresponding
    patch to GHC itself.

    The main change is that we now keep track of the IO manager's ThreadId
    in a top-level MVar, and ensureIOManagerIsRunning checks whether a
    previous IO manager thread is alive before starting one.  In the child
    of fork(), we can hence call ensureIOManagerIsRunning to restart the
    IO manager.

      M ./GHC/Conc.lhs -46 +44

  Wed Nov  4 17:49:45 GMT 2009  Ian Lynagh <igloo <at> earth.li>
    * Fix the build on Windows

      M ./GHC/Conc.lhs -6 +4

    M ./GHC/Conc.lhs -48 +52

View patch online:
http://darcs.haskell.org/packages/base/_darcs/patches/20091106140629-12142-008a9118769409065a470aa621620b1502026212.gz
(Continue reading)

Ian Lynagh | 6 Nov 2009 18:17
Picon
Gravatar

patch applied (ghc-6.12/packages/base): improve the documentation for throwErrnoIfRetry

Fri Oct 16 04:24:04 PDT 2009  Simon Marlow <marlowsd <at> gmail.com>
  * improve the documentation for throwErrnoIfRetry
  Ignore-this: b77275cacf730e15757946027168f63e

    M ./Foreign/C/Error.hs -2 +3

View patch online:
http://darcs.haskell.org/ghc-6.12/packages/base/_darcs/patches/20091016112404-12142-f6d79d32f670b98ff3d578fec8199d42e317deb6.gz
Ian Lynagh | 8 Nov 2009 21:21
Picon
Gravatar

patch applied (ghc-6.12/packages/base3-compat): Only define GHC.Handle.unlockFile on non-Windows; fixes trac #3635

Sun Nov  8 11:16:44 PST 2009  Ian Lynagh <igloo <at> earth.li>
  * Only define GHC.Handle.unlockFile on non-Windows; fixes trac #3635

    M ./GHC/Handle.hs +5

View patch online:
http://darcs.haskell.org/ghc-6.12/packages/base3-compat/_darcs/patches/20091108191644-3fd76-6154311aecabd6c04be7ad383d49fbf2980fc64d.gz

Gmane