mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
XQuartz: Unset CFProcessPath... blech
(cherry picked from commit ce4fbfbc75c62a092214d140c7550279aebe69ef)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user