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 614660 Details for
Bug 858912
Check if a stream is still open before flushing it
[?]
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]
Proposed Patch
cloghandler.patch (text/plain), 784 bytes, created by
Amit Saha
on 2012-09-20 02:14:55 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Amit Saha
Created:
2012-09-20 02:14:55 UTC
Size:
784 bytes
patch
obsolete
>--- cloghandler.py 2012-09-20 11:48:05.015782720 +1000 >+++ cloghandler_patched.py 2012-09-20 11:45:39.335395213 +1000 >@@ -191,14 +191,15 @@ > """ Release file and thread locks. Flush stream and take care of closing > stream in 'degraded' mode. """ > try: >- self.stream.flush() >- if self._rotateFailed: >- self.stream.close() >+ if not self.stream.closed: >+ self.stream.flush() >+ if self._rotateFailed: >+ self.stream.close() > finally: > try: > unlock(self.stream_lock) > finally: >- # release thread lock >+ #release thread lock > Handler.release(self) > > def close(self):
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 858912
: 614660