Changes to ghc(6)

Changes to ghc:
commit e6f48ad41402a5aeed4e0569c323f5b8a567563b
Author: Nicolas Trangez <ikke@nicolast.be>
Date:   Wed Apr 23 21:14:23 2014 +0200

    Fix memleak in hp2ps

    Issue discovered by Coverity scan, CID 43167.

    Signed-off-by: Austin Seipp <austin@well-typed.com>
    (cherry picked from commit f17dcf09a5797bbefe22aef7d4c508d1672484df)

commit 27337de5999e43807131acb290447e4ab8aa334c
Author: Nicolas Trangez <ikke@nicolast.be>
Date:   Wed Apr 23 20:37:51 2014 +0200

    Check correct variable for NULL

    Issue discovered by Coverity scan, CID 43163. This should fix CID 43172 as a
    side-effect as well.

    Signed-off-by: Austin Seipp <austin@well-typed.com>
    (cherry picked from commit 6ed7123dcc24c343a1ece85c7aa72ac1c34e6aff)

commit 07fb613bf599aa9237b1ef73861706b447173d38
Author: Nicolas Trangez <ikke@nicolast.be>
Date:   Wed Apr 23 20:27:04 2014 +0200

    Fix potential out-of-bound memory access

    Issue discovered by Coverity scan, CID 43165.

    Signed-off-by: Austin Seipp <austin@well-typed.com>
    (cherry picked from commit fa0cbd297ba12e02273efcaa5f52fe76e10b7126)

commit 2439da08fb3525f94d340132dc698c36a102ab28
Author: Nicolas Trangez <ikke@nicolast.be>
Date:   Wed Apr 23 20:06:15 2014 +0200

    Check return value of sigaction

    Issue discovered by Coverity scan, CID 43142.

    Signed-off-by: Austin Seipp <austin@well-typed.com>
    (cherry picked from commit f2595fd9d03803874df792072292d792a2c03bce)

commit 53c8e6e3b7fc8266c8843b7fa8f1e22d4413bc81
Author: Austin Seipp <austin@well-typed.com>
Date:   Wed Apr 23 03:41:44 2014 -0500

    rts: Fix possible int overflow in resize_nursery

    n_capabilities is declared as unsigned int (32bit), and so multiplication
    is 32-bit before being stored in a 64bit integer (StgWord).

    Instead, cast n_capabilities to StgWord before multiplying.

    Discovered by Coverity. CID 43164.

    Signed-off-by: Austin Seipp <austin@well-typed.com>
    (cherry picked from commit 111b8454cc1b64da5b9816b89d79f44a8ae24355)

commit 8640d7b2a636702079878cd9cfb9b9349457c1e0
Author: Austin Seipp <austin@well-typed.com>
Date:   Wed Apr 23 02:14:15 2014 -0500

    rts: Fix potential memory leak in ProfHeap.c

    Discovered by Coverity. CID 43166.

    Signed-off-by: Austin Seipp <austin@well-typed.com>
    (cherry picked from commit 95da409719bab6f92229dc1a632c471e248d2fdd)