Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 90074 Details for
Bug 83472
Compiling inside a gnome-terminal is much slower than with a vanilla kernel
Home
New
Search
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.rh92 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]
VERY quick and dirty read coalescing patch
vte.patch (text/plain), 1.01 KB, created by
Matt Wilson
on 2003-02-14 01:23:31 UTC
(
hide
)
Description:
VERY quick and dirty read coalescing patch
Filename:
MIME Type:
Creator:
Matt Wilson
Created:
2003-02-14 01:23:31 UTC
Size:
1.01 KB
patch
obsolete
>--- ./vte.c~ 2003-02-13 02:13:52.000000000 -0500 >+++ ./vte.c 2003-02-14 01:16:37.000000000 -0500 >@@ -7288,7 +7288,7 @@ > VteTerminal *terminal; > GtkWidget *widget; > char buf[VTE_INPUT_CHUNK_SIZE]; >- int bcount, fd; >+ int bcount, fd, again = 0; > gboolean eof, leave_open = TRUE; > > g_return_val_if_fail(VTE_IS_TERMINAL(data), TRUE); >@@ -7298,6 +7298,8 @@ > /* Check that the channel is still open. */ > fd = g_io_channel_unix_get_fd(channel); > >+ readagain: >+ > /* Read some data in from this channel. */ > bcount = 0; > if (condition & G_IO_IN) { >@@ -7338,10 +7340,15 @@ > /* If we got data, modify the pending buffer. */ > if (bcount >= 0) { > _vte_buffer_append(terminal->pvt->incoming, buf, bcount); >- } else { >- g_free(buf); > } > >+ if (!again) { >+ usleep(10); >+ again = 1; >+ goto readagain; >+ } /* else >+ printf("pass 2 gave %d bytes\n", bcount); */ >+ > /* If we have data to process, schedule some time to process it. */ > if (!terminal->pvt->processing && > (_vte_buffer_length(terminal->pvt->incoming) > 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 83472
: 90074 |
90124