[GHC] #10822: GHC inconsistently handles \\?\ for long paths on Windows

GHC ghc-devs at haskell.org
Sat Mar 31 09:12:04 UTC 2018


#10822: GHC inconsistently handles \\?\ for long paths on Windows
---------------------------------+----------------------------------------
        Reporter:  snoyberg      |                Owner:  (none)
            Type:  bug           |               Status:  patch
        Priority:  normal        |            Milestone:  8.6.1
       Component:  Compiler      |              Version:  7.10.2
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):  Phab:D4416
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"4de585a5c1ac3edc2914cebcac1753b514051a89/ghc"
 4de585a5/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="4de585a5c1ac3edc2914cebcac1753b514051a89"
 Remove MAX_PATH restrictions from RTS, I/O manager and various utilities

 Summary:
 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
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10822#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list