Imported Debian patch 2:1.15.1-0ubuntu2.6
[deb_xorg-server.git] / debian / patches / 168_glibc_trace_to_stderr.patch
1 diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
2 index 0974893..797f054 100644
3 --- a/hw/xfree86/common/xf86Init.c
4 +++ b/hw/xfree86/common/xf86Init.c
5 @@ -938,6 +938,9 @@ OsVendorInit(void)
6
7 if (!beenHere) {
8 umask(022);
9 + /* have glibc report internal abort traces to stderr instead of
10 + the controlling terminal */
11 + setenv("LIBC_FATAL_STDERR_", "1", 0);
12 xf86LogInit();
13 }
14