This commit is contained in:
Matthias Clasen 2008-08-25 13:58:56 +00:00
parent 55e46c3612
commit b8aec5b45b

View File

@ -1,8 +1,9 @@
--- xinit-1.0.2/xinit.c.client-session 2006-11-10 00:24:25.000000000 -0500
+++ xinit-1.0.2/xinit.c 2006-11-10 00:30:42.000000000 -0500
@@ -692,11 +692,21 @@
startClient(char *client[])
diff -up xinit-1.0.9/xinit.c.client-session xinit-1.0.9/xinit.c
--- xinit-1.0.9/xinit.c.client-session 2008-05-21 14:09:16.000000000 -0400
+++ xinit-1.0.9/xinit.c 2008-08-25 09:57:56.000000000 -0400
@@ -727,11 +727,21 @@ startClient(char *client[])
{
setWindowPath();
if ((clientpid = vfork()) == 0) {
+ int fd;
if (setuid(getuid()) == -1) {