[commit: ghc] master: Move the ResponseFile module from haddock into base (866525a)

git at git.haskell.org git at git.haskell.org
Thu May 3 19:21:38 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/866525a1765715b8b9902e1bd53b9af1c7a93a30/ghc

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

commit 866525a1765715b8b9902e1bd53b9af1c7a93a30
Author: Chaitanya Koparkar <ckoparkar at gmail.com>
Date:   Thu May 3 12:38:36 2018 -0400

    Move the ResponseFile module from haddock into base
    
    GHC and the build tools use "response files" to work around the limit
    on the length of command line arguments on Windows. Haddock's
    implementation of parsing response files (i.e escaping/unescaping the
    appropriate characters) seems complete, is well tested, and also
    closely matches the GCC version. This patch moves the relevant bits
    into `base` so that it's easier for other libraries to reuse it.
    
    Test Plan: make test TEST=T13896
    
    Reviewers: bgamari, RyanGlScott, 23Skidoo, hvr
    
    Reviewed By: RyanGlScott
    
    Subscribers: thomie, carter
    
    GHC Trac Issues: #13896
    
    Differential Revision: https://phabricator.haskell.org/D4612


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

866525a1765715b8b9902e1bd53b9af1c7a93a30
 libraries/base/GHC/ResponseFile.hs | 159 +++++++++++++++++++++++++++++++++++++
 libraries/base/base.cabal          |   1 +
 libraries/base/changelog.md        |   3 +
 libraries/base/tests/T13896.hs     |  75 +++++++++++++++++
 libraries/base/tests/all.T         |   1 +
 5 files changed, 239 insertions(+)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 866525a1765715b8b9902e1bd53b9af1c7a93a30


More information about the ghc-commits mailing list