You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change ensures all temporal files are created in the system temp directory
which usually is in a short path. This helps with Windows not being capable of
creating temp files in long directories, like the ones that result from
Backpack.
See how GetTempFileNameW specifies:
> The string cannot be longer than `MAX_PATH–14` characters or `GetTempFileName`
will fail.
And actually there is a TODO in `Win32Utils.c` in GHC:
https://gitlab.haskell.org/ghc/ghc/-/blob/3939a8bf93e27d8151aa1d92bf3ce10bbbc96a72/libraries/ghc-internal/cbits/Win32Utils.c#L259Closes#10191.
0 commit comments