bgamari · GitHub

Darwin violates POSIX by making
`dup2(x,x)`, which should be a no-op, error. Consequently, we must take
care not to `dup2` in such cases.
We had already made this change in the `posix_spawnp` codepath but I had
assumed that this *only* affected `posix_spawnp`, not the `dup2` system
call itself.

@bgamari mentioned this pull request

Jun 14, 2022

Closed

snoyberg added a commit that referenced this pull request

Jun 15, 2022

@snoyberg

Merged

2 tasks

Closed

Closed

mpilgrem added a commit to commercialhaskell/stack that referenced this pull request

Aug 3, 2022

mpilgrem added a commit to commercialhaskell/stack that referenced this pull request

Aug 12, 2022

mpilgrem added a commit to commercialhaskell/stack that referenced this pull request

Aug 12, 2022

mpilgrem pushed a commit to commercialhaskell/stack that referenced this pull request

Aug 13, 2022
Bump to nightly-2022-07-30
Remove redundant import in Stack.Package
Bump to nightly-2022-08-02 (GHC 9.2.4)
Fix 4101-dependency-tree test
Maybe fix the ghc-install-hooks test
process-1.6.15.0 now available
Includes fix haskell/process#250

Mistuke pushed a commit to Mistuke/process that referenced this pull request

Mar 11, 2023

Read the original on github.com ↗