xserver: Branch 'xorg-server-1.5-apple'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Mon Apr 28 15:55:11 PDT 2008
hw/xquartz/quartzStartup.c | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit dd876f2c594a8e5d695dd6de487efadd5f6ac64f
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date: Mon Apr 28 15:52:24 2008 -0700
XQuartz: Unset CFProcessPath... blech
(cherry picked from commit ce4fbfbc75c62a092214d140c7550279aebe69ef)
diff --git a/hw/xquartz/quartzStartup.c b/hw/xquartz/quartzStartup.c
index 7dab50b..cd3c7a0 100644
--- a/hw/xquartz/quartzStartup.c
+++ b/hw/xquartz/quartzStartup.c
@@ -104,6 +104,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];
More information about the xorg-commit
mailing list