xserver-multidpi/hw/xfree86/os-support
Hans de Goede 2092f12a24 linux: Do not call FatalError from xf86CloseConsole
FatalError ends up calling xf86CloseConsole itself, so calling FatalError
from within xf86CloseConsole is not a good idea.

Make switch_to log errors using xf86Msg(X_WARNING, ...) and return success
(or failure).

This makes switch_to match the other error checking done in xf86CloseConsole
which all logs warnings and continues.

Add checking of the return value in xf86OpenConsole and call
FatalError there when switch_to fails, to preserve the error-handling
behavior of xf86OpenConsole.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1269210
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-10-21 10:35:51 -04:00
..
bsd Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
bus Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
hurd Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
linux linux: Do not call FatalError from xf86CloseConsole 2015-10-21 10:35:51 -04:00
misc Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
shared Allow system call restarts upon signal interruption 2015-09-21 10:41:46 -04:00
solaris Remove apSolaris.shar (old "aperture" kernel driver for Solaris) 2015-04-21 16:57:07 -07:00
stub xfree86: Remove xf86ReadBIOS 2014-09-16 11:58:53 -04:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
xf86_OSlib.h bsd: Remove LINKKIT 2015-10-06 11:41:26 -04:00
xf86_OSproc.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00