[GHC] #13373: Handle long file paths on Windows

GHC ghc-devs at haskell.org
Mon Apr 3 06:51:26 UTC 2017


#13373: Handle long file paths on Windows
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hvr):

 Replying to [comment:6 Rufflewind]:
 > TL;DR: It does not seem possible to set the current directory to a long
 path except through the Win-10 only mechanism.

 It cannot be set at once... but what about getting there in multiple steps
 as a workaround with multiple `SetCurrentDirectoryW` calls, where the
 first one uses an absolute path, and the subsequent ones use relative
 paths? I know... I'm two days late for such suggestions :-)

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


More information about the ghc-tickets mailing list