[commit: ghc] master: Fix some broken links (#15733) (49c7a51)

git at git.haskell.org git at git.haskell.org
Thu Oct 25 07:20:21 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/49c7a51ef614068ba664422c48e97d3ec76178a5/ghc

>---------------------------------------------------------------

commit 49c7a51ef614068ba664422c48e97d3ec76178a5
Author: Fangyi Zhou <fangyi.zhou15 at imperial.ac.uk>
Date:   Thu Oct 25 10:16:48 2018 +0300

    Fix some broken links (#15733)
    
    Change some URLs from hackage.haskell.org/trac to ghc.haskell.org/trac
    
    Test Plan: manually verify links work
    
    Reviewers: bgamari, simonmar, mpickering
    
    Reviewed By: bgamari, mpickering
    
    Subscribers: mpickering, rwbarton, carter
    
    GHC Trac Issues: #15733
    
    Differential Revision: https://phabricator.haskell.org/D5257


>---------------------------------------------------------------

49c7a51ef614068ba664422c48e97d3ec76178a5
 INSTALL.md                                           | 2 +-
 compiler/codeGen/StgCmmHeap.hs                       | 2 +-
 libraries/ghc-heap/GHC/Exts/Heap/Closures.hs         | 2 +-
 libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/INSTALL.md b/INSTALL.md
index 42bbc1e..3ab14df 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -44,5 +44,5 @@ References
 ==========
 
  [1] http://www.haskell.org/ghc/
- [2] http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation
+ [2] http://ghc.haskell.org/trac/ghc/wiki/Building/Preparation
  [3] http://www.haskell.org/haddock/
diff --git a/compiler/codeGen/StgCmmHeap.hs b/compiler/codeGen/StgCmmHeap.hs
index 3be35b3..3b170eb 100644
--- a/compiler/codeGen/StgCmmHeap.hs
+++ b/compiler/codeGen/StgCmmHeap.hs
@@ -519,7 +519,7 @@ heapCheck checkStack checkYield do_gc code
                     [" Trying to allocate more than "++show mBLOCK_SIZE++" bytes.",
                      "",
                      "This is currently not possible due to a limitation of GHC's code generator.",
-                     "See http://hackage.haskell.org/trac/ghc/ticket/4505 for details.",
+                     "See http://ghc.haskell.org/trac/ghc/ticket/4505 for details.",
                      "Suggestion: read data from a file instead of having large static data",
                      "structures in code."]
                  | hpHw > 0  = Just (mkIntExpr dflags (hpHw * (wORD_SIZE dflags)))
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
index facb801..a3f9b97 100644
--- a/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
+++ b/libraries/ghc-heap/GHC/Exts/Heap/Closures.hs
@@ -94,7 +94,7 @@ areBoxesEqual (Box a) (Box b) = case reallyUnsafePtrEqualityUpToTag# a b of
 type Closure = GenClosure Box
 
 -- | This is the representation of a Haskell value on the heap. It reflects
--- <http://hackage.haskell.org/trac/ghc/browser/includes/rts/storage/Closures.h>
+-- <http://ghc.haskell.org/trac/ghc/browser/includes/rts/storage/Closures.h>
 --
 -- The data type is parametrized by the type to store references in. Usually
 -- this is a 'Box' with the type synonym 'Closure'.
diff --git a/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc b/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
index 9a19360..9c7c392 100644
--- a/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
+++ b/libraries/ghc-heap/GHC/Exts/Heap/InfoTable/Types.hsc
@@ -28,7 +28,7 @@ type HalfWord = Word16
 type EntryFunPtr = FunPtr (Ptr () -> IO (Ptr ()))
 
 -- | This is a somewhat faithful representation of an info table. See
--- <http://hackage.haskell.org/trac/ghc/browser/includes/rts/storage/InfoTables.h>
+-- <http://ghc.haskell.org/trac/ghc/browser/includes/rts/storage/InfoTables.h>
 -- for more details on this data structure.
 data StgInfoTable = StgInfoTable {
    entry  :: Maybe EntryFunPtr, -- Just <=> not ghciTablesNextToCode



More information about the ghc-commits mailing list