Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168590 Details for
Bug 241100
sys-apps/portage-2.2_rc12 not recognizing standard output as a terminal
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch applies cleanly against portage-2.2_rc12
fetch_pty.patch (text/plain), 738 bytes, created by
Zac Medico
on 2008-10-15 16:47:16 UTC
(
hide
)
Description:
patch applies cleanly against portage-2.2_rc12
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-10-15 16:47:16 UTC
Size:
738 bytes
patch
obsolete
>--- pym/_emerge/__init__.py.orig >+++ pym/_emerge/__init__.py >@@ -2277,6 +2277,18 @@ > self.env = fetch_env > SpawnProcess._start(self) > >+ def _pipe(self, fd_pipes): >+ """When appropriate, use a pty so that fetcher progress bars, >+ like wget has, will work properly.""" >+ if self.background or not sys.stdout.isatty(): >+ # When the output only goes to a log file, >+ # there's no point in creating a pty. >+ return os.pipe() >+ stdout_pipe = fd_pipes.get(1) >+ got_pty, master_fd, slave_fd = \ >+ portage._create_pty_or_pipe(copy_term_size=stdout_pipe) >+ return (master_fd, slave_fd) >+ > def _set_returncode(self, wait_retval): > SpawnProcess._set_returncode(self, wait_retval) > # Collect elog messages that might have been
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 241100
:
168580
| 168590