Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 158265 Details for
Bug 246267
-novtswitch doesn't seem to work
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
partial fix
xorg-novtswitch.patch (text/plain), 1.23 KB, created by
jmccann
on 2007-06-29 21:09:12 UTC
(
hide
)
Description:
partial fix
Filename:
MIME Type:
Creator:
jmccann
Created:
2007-06-29 21:09:12 UTC
Size:
1.23 KB
patch
obsolete
>diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c >index 9775180..6ada29f 100644 >--- a/hw/xfree86/os-support/linux/lnx_init.c >+++ b/hw/xfree86/os-support/linux/lnx_init.c >@@ -247,13 +247,16 @@ xf86OpenConsole(void) > /* > * now get the VT. This _must_ succeed, or else fail completely. > */ >- if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) < 0) >- FatalError("xf86OpenConsole: VT_ACTIVATE failed: %s\n", >- strerror(errno)); >+ if (VTSwitch) >+ { >+ if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno) < 0) >+ FatalError("xf86OpenConsole: VT_ACTIVATE failed: %s\n", >+ strerror(errno)); > >- if (ioctl(xf86Info.consoleFd, VT_WAITACTIVE, xf86Info.vtno) < 0) >- FatalError("xf86OpenConsole: VT_WAITACTIVE failed: %s\n", >- strerror(errno)); >+ if (ioctl(xf86Info.consoleFd, VT_WAITACTIVE, xf86Info.vtno) < 0) >+ FatalError("xf86OpenConsole: VT_WAITACTIVE failed: %s\n", >+ strerror(errno)); >+ } > > if (ioctl(xf86Info.consoleFd, VT_GETMODE, &VT) < 0) > FatalError("xf86OpenConsole: VT_GETMODE failed %s\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 246267
: 158265