summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-04-14 03:03:17 +0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-04-13 20:17:24 -0700
commit5dea0c1caaeb0d7f1280fd28c80c3c1bc10c34d0 (patch)
tree32794a1ee94e69f298c30e1c6e7065d873478f93 /configure.ac
parent2df4ba3b0ef40cefcac2774e042dad0d2df17424 (diff)
downloadxorg-app-xinit-5dea0c1caaeb0d7f1280fd28c80c3c1bc10c34d0.tar.gz
Simplify environment juggling by using fork() instead of vfork()
xinit used to copy process environment in order to give client correct DISPLAY and WINDOWPATH variables. It was not possible to do it in client process because it was vforked, not forked. As vfork() usage was not entirely correct (manpage specifies that behaviour is undefined if there are any memory modifications between vfork and exec), switch to fork(), move setting environment variables to client process and and drop all the manual mucking with environment. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c0a8fd0..cec5d31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,6 @@ AC_PATH_PROG(SED,sed)
AC_CANONICAL_HOST
AC_TYPE_SIGNAL
-AC_FUNC_FORK
AC_CHECK_FUNCS([killpg])