Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 219551 Details for
Bug 304981
=sys-apps/portage-2.2_rc62 replaces 'temp/build.log' just after 'checking checksums'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
truncate fetch log after success
truncate_log.patch (text/plain), 645 bytes, created by
Zac Medico
on 2010-02-14 00:59:52 UTC
(
hide
)
Description:
truncate fetch log after success
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2010-02-14 00:59:52 UTC
Size:
645 bytes
patch
obsolete
>Index: pym/_emerge/EbuildBuildDir.py >=================================================================== >--- pym/_emerge/EbuildBuildDir.py (revision 15351) >+++ pym/_emerge/EbuildBuildDir.py (revision 15352) >@@ -63,10 +63,11 @@ > def clean_log(self): > """Discard existing log.""" > settings = self.settings >- >- for x in ('.logid', 'temp/build.log'): >+ log_file = settings.get('PORTAGE_LOG_FILE') >+ if log_file is not None and os.path.isfile(log_file): >+ # Truncate rather than unlink, so tail -f still works. > try: >- os.unlink(os.path.join(settings["PORTAGE_BUILDDIR"], x)) >+ open(log_file, 'wb') > except OSError: > pass >
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 304981
: 219551