Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 306495 Details for
Bug 363721
media-plugins/vdr-vompserver fails to build with gcc 4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Message overrun fix
10-rrprocstart.dpatch (text/plain), 1.27 KB, created by
Petric Frank
on 2012-03-24 08:11:55 UTC
(
hide
)
Description:
Message overrun fix
Filename:
MIME Type:
Creator:
Petric Frank
Created:
2012-03-24 08:11:55 UTC
Size:
1.27 KB
patch
obsolete
>#! /bin/sh /usr/share/dpatch/dpatch-run >## 10-rrprocstart.dpatch by <marten.richter@freenet.de> >## >## All lines beginning with `## DP:' are a description of the patch. >## DP: Backport of a bug in rrproc > >@DPATCH@ >diff -u vdr-plugin-vompserver-new/vompclientrrproc.c vdr-plugin-vompserver-0.3.1/vompclientrrproc.c >--- vdr-plugin-vompserver-new/vompclientrrproc.c 2010-07-05 19:20:11.000000000 +0200 >+++ vdr-plugin-vompserver-0.3.1/vompclientrrproc.c 2010-07-05 19:24:05.000000000 +0200 >@@ -87,9 +87,25 @@ > > if (req_queue.size() != 0) > { >- log->log("RRProc", Log::ERR, "threadMethod err 1"); >- threadUnlock(); >- return; >+ log->log("RRProc", Log::ERR, "threadMethod startup with already queued packets"); >+ while (req_queue.size()) >+ { >+ //log->log("RRProc", Log::DEBUG, "thread while"); >+ req = req_queue.front(); >+ req_queue.pop(); >+ >+ threadUnlock(); // allow recvRequest to be queuing packets while we are working on this one >+ >+ if (!processPacket()) >+ { >+ log->log("RRProc", Log::ERR, "processPacket exited with fail"); >+ return; >+ } >+ >+ threadLock(); >+ } >+ log->log("RRProc", Log::ERR, "threadMethod startup with already queued packets done."); >+ > } > > while(1)
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 363721
:
270087
|
306493
| 306495