Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15420 Details for
Bug 22664
emerge doesn't change the xterm title back to original after being killed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for emerge
bugs.22664.patch (text/plain), 987 bytes, created by
Masatomo Nakano (RETIRED)
on 2003-08-03 01:01:27 UTC
(
hide
)
Description:
patch for emerge
Filename:
MIME Type:
Creator:
Masatomo Nakano (RETIRED)
Created:
2003-08-03 01:01:27 UTC
Size:
987 bytes
patch
obsolete
>--- emerge.org 2003-08-03 03:25:13.000000000 +0100 >+++ emerge 2003-08-03 08:58:03.000000000 +0100 >@@ -6,7 +6,7 @@ > import os > os.environ["PORTAGE_CALLER"]="emerge" > >-import sys,emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit >+import sys,emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit,signal > from stat import * > from output import * > >@@ -212,11 +212,17 @@ > """This gets out final log message in before we quit. As it overrides > any other atexit's we have setup, we need to call them ourself.""" > portage.portageexit() >- emergelog(" *** terminating.") > if "notitles" not in portage.features: > xtermTitleReset() > atexit.register(emergeexit) > >+def emergeterminate(signum, frame): >+ emergelog(" *** terminating.") >+ if "notitles" not in portage.features: >+ xtermTitleReset() >+ sys.exit(0) >+signal.signal(signal.SIGINT, emergeterminate) >+ > def countdown(secs=5, doing="Starting"): > if secs: > print ">>> Waiting",secs,"seconds before starting..."
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 22664
:
15419
| 15420