mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-01 17:40:11 +01:00
XQuartz: Unset CFProcessPath... blech
(cherry picked from commit ce4fbfbc75)
This commit is contained in:
parent
0c2312b21b
commit
d5ab89f4f1
1 changed files with 6 additions and 0 deletions
|
|
@ -98,6 +98,12 @@ int main(int argc, char **argv, char **envp) {
|
|||
int i;
|
||||
int fd[2];
|
||||
|
||||
/* Unset CFProcessPath, so our children don't inherit this kludge we need
|
||||
* to load our nib. If an xterm gets this set, then it fails to
|
||||
* 'open hi.txt' properly.
|
||||
*/
|
||||
unsetenv("CFProcessPath");
|
||||
|
||||
// Make a pipe to pass events
|
||||
assert( pipe(fd) == 0 );
|
||||
darwinEventReadFD = fd[0];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue