3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/libredirect
Maximilian Bosch a3667ee6be
libredirect: add posix_spawnp support
After bumping sublime3 in #61636 we realized that saving files as root
doesn’t work anymore and somehow the paths weren’t patched by
`libredirect`.

After some debugging it came out that Sublime switched from `posix_spawn(3)`
to `posix_spawnp(3)` to start new processes internally. Since `libredirect`
only handled the former, `/usr/bin/pkexec` stopped being redirected.

Wrapping `posix_spawnp` fixes the problem.
2019-06-18 22:47:11 +02:00
..
default.nix libredirect: set install_name on Darwin 2018-11-14 00:05:26 +01:00
libredirect.c libredirect: add posix_spawnp support 2019-06-18 22:47:11 +02:00
test.c libredirect: Add a small test 2018-11-12 11:02:54 +01:00