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 605474 Details for
Bug 832660
seaudit fails to start
[?]
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]
patch for g_cond_timed_wait
0009-Fixed-g_cond_timed_wait-time.patch (text/plain), 763 bytes, created by
Lars S. Jensen
on 2012-08-19 11:48:58 UTC
(
hide
)
Description:
patch for g_cond_timed_wait
Filename:
MIME Type:
Creator:
Lars S. Jensen
Created:
2012-08-19 11:48:58 UTC
Size:
763 bytes
patch
obsolete
>Fix wrong use of g_cond_timed_wait by replacing it with g_cond_wait_until > >diff -u a/seaudit/progress.c b/seaudit/progress.c >--- a/seaudit/progress.c 2007-08-02 23:16:33.000000000 +0200 >+++ b/seaudit/progress.c 2012-08-18 18:59:09.054996491 +0200 >@@ -99,10 +99,11 @@ > > int progress_wait(progress_t * progress) > { >- GTimeVal wait_time = { 0, 50000 }; >+ gint64 end_time; > g_mutex_lock(progress->mutex); > while (!progress->done) { >- g_cond_timed_wait(progress->cond, progress->mutex, &wait_time); >+ end_time = g_get_monotonic_time () + 50000; // need to be set before each wait >+ g_cond_wait_until(progress->cond, progress->mutex,end_time); > if (progress->s != NULL) { > gtk_label_set_text(GTK_LABEL(progress->label2), progress->s); > free(progress->s);
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 832660
: 605474 |
605475
|
605481