mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 17:40:05 +01:00
XQuartz: Unset CFProcessPath... blech
(cherry picked from commit ce4fbfbc75)
This commit is contained in:
parent
5bee1585a3
commit
a3067a084c
1 changed files with 6 additions and 0 deletions
|
|
@ -70,6 +70,12 @@ void DarwinHandleGUI(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");
|
||||
|
||||
if (been_here) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue