mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xorg-server:
- add patch from debian to log xorg error to stderr instead of launching terminal
This commit is contained in:
parent
9dc97ebc14
commit
7a62437013
@ -0,0 +1,18 @@
|
||||
Index: xorg-server-1.6.0/hw/xfree86/common/xf86Init.c
|
||||
===================================================================
|
||||
--- xorg-server-1.6.0.orig/hw/xfree86/common/xf86Init.c 2009-03-19 23:19:45.000000000 -0700
|
||||
+++ xorg-server-1.6.0/hw/xfree86/common/xf86Init.c 2009-03-19 23:23:22.000000000 -0700
|
||||
@@ -1345,8 +1345,12 @@
|
||||
signal(SIGCHLD, SIG_DFL); /* Need to wait for child processes */
|
||||
#endif
|
||||
|
||||
- if (!beenHere)
|
||||
+ if (!beenHere) {
|
||||
+ /* have glibc report internal abort traces to stderr instead of
|
||||
+ the controlling terminal */
|
||||
+ setenv("LIBC_FATAL_STDERR_","1",0);
|
||||
xf86LogInit();
|
||||
+ }
|
||||
|
||||
/* Set stderr to non-blocking. */
|
||||
#ifndef O_NONBLOCK
|
Loading…
x
Reference in New Issue
Block a user