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
Showing
- .gitignore 5 additions, 0 deletions.gitignore
- configure.ac 9 additions, 0 deletionsconfigure.ac
- docs/users_guide/8.6.1-notes.rst 46 additions, 2 deletionsdocs/users_guide/8.6.1-notes.rst
- ghc.mk 10 additions, 0 deletionsghc.mk
- libraries/base/base.cabal 2 additions, 0 deletionslibraries/base/base.cabal
- libraries/base/include/HsBase.h 14 additions, 2 deletionslibraries/base/include/HsBase.h
- rts/Hpc.c 3 additions, 2 deletionsrts/Hpc.c
- rts/Linker.c 2 additions, 1 deletionrts/Linker.c
- rts/PathUtils.h 1 addition, 1 deletionrts/PathUtils.h
- rts/ProfHeap.c 2 additions, 1 deletionrts/ProfHeap.c
- rts/Profiling.c 3 additions, 2 deletionsrts/Profiling.c
- rts/RtsFlags.c 4 additions, 2 deletionsrts/RtsFlags.c
- rts/RtsSymbols.c 1 addition, 0 deletionsrts/RtsSymbols.c
- rts/eventlog/EventLogWriter.c 2 additions, 1 deletionrts/eventlog/EventLogWriter.c
- rts/fs_rts.h 15 additions, 0 deletionsrts/fs_rts.h
- rts/ghc.mk 1 addition, 1 deletionrts/ghc.mk
- rts/linker/LoadArchive.c 1 addition, 0 deletionsrts/linker/LoadArchive.c
- rts/linker/PEi386.c 3 additions, 0 deletionsrts/linker/PEi386.c
- rts/rts.cabal.in 3 additions, 0 deletionsrts/rts.cabal.in
- utils/fs/README 4 additions, 0 deletionsutils/fs/README
Loading
Please register or sign in to comment