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 154882 Details for
Bug 240389
Default handlers don't work anymore with 1.20
[?]
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.
[patch]
revert to good old behavior
patch-gpm (text/plain), 1.04 KB, created by
Samuel Thibault
on 2007-05-16 23:29:08 UTC
(
hide
)
Description:
revert to good old behavior
Filename:
MIME Type:
Creator:
Samuel Thibault
Created:
2007-05-16 23:29:08 UTC
Size:
1.04 KB
patch
obsolete
>--- gpm-1.20.2-broken/src/lib/liblow.c.orig 2007-05-17 01:09:32.000000000 +0200 >+++ gpm-1.20.2-broken/src/lib/liblow.c 2007-05-17 01:20:39.000000000 +0200 >@@ -48,6 +48,7 @@ > > #include "headers/gpmInt.h" > #include "headers/message.h" >+#include "headers/console.h" > > #ifndef min > #define min(a,b) ((a)<(b) ? (a) : (b)) >@@ -363,7 +364,7 @@ > } > memcpy(tty, console_name, strlen(console_name) - 1); > sprintf(&tty[strlen(console_name) - 1], "%i", flag); >- } else { /* use your current vc */ >+ } else if (flag==0) { /* use your current vc */ > if (isatty(0)) tty = ttyname(0); /* stdin */ > if (!tty && isatty(1)) tty = ttyname(1); /* stdout */ > if (!tty && isatty(2)) tty = ttyname(2); /* stderr */ >@@ -380,7 +381,8 @@ > } > > conn->vc = atoi(&tty[strlen(console_name) - 1]); >- } >+ } else /* a default handler -- use console */ >+ tty = strdup(get_console_name()); > > if (gpm_consolefd == -1) { > if ((gpm_consolefd = open(tty, O_WRONLY)) < 0) {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240389
:
154882
|
154885