Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168580 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]
portage-2.2_rc12-use-fetchers-progressbar-if-possible.diff
portage-2.2_rc12-use-fetchers-progressbar-if-possible.diff (text/plain), 829 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2008-10-15 14:24:04 UTC
(
hide
)
Description:
portage-2.2_rc12-use-fetchers-progressbar-if-possible.diff
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2008-10-15 14:24:04 UTC
Size:
829 bytes
patch
obsolete
>--- main/trunk/pym/_emerge/__init__.py 2008/10/12 00:09:40 11679 >+++ main/trunk/pym/_emerge/__init__.py 2008/10/12 00:46:59 11680 >@@ -2279,6 +2279,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.prefetch or 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 _clean_builddir(self): > """Uses shutil.rmtree() rather than spawning a 'clean' phase. Disabled > by keepwork or keeptemp in FEATURES."""
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