• Tamar Christina's avatar
    Remove MAX_PATH restrictions from RTS, I/O manager and various utilities · 4de585a5
    Tamar Christina authored
    This shims out fopen and sopen so that they use modern APIs under the hood
    along with namespaced paths.
    This lifts the MAX_PATH restrictions from Haskell programs and makes the new
    limit ~32k.
    There are only some slight caveats that have been documented.
    Some utilities have not been upgraded such as lndir, since all these things are
    different cabal packages I have been forced to copy the source in different places
    which is less than ideal. But it's the only way to keep sdist working.
    Test Plan: ./validate
    Reviewers: hvr, bgamari, erikd, simonmar
    Reviewed By: bgamari
    Subscribers: rwbarton, thomie, carter
    GHC Trac Issues: #10822
    Differential Revision: https://phabricator.haskell.org/D4416
ghc.mk 58.4 KB