Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65378 Details for
Bug 46271
"execve() arg 3 contains a non-string value" upon invalid CONTENTS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to pickle the spawn env (for debugging only)
debug-spawn-env.patch (text/plain), 523 bytes, created by
Zac Medico
on 2005-08-07 19:48:10 UTC
(
hide
)
Description:
A patch to pickle the spawn env (for debugging only)
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2005-08-07 19:48:10 UTC
Size:
523 bytes
patch
obsolete
>Index: portage-2.0/pym/portage_exec.py >=================================================================== >--- portage-2.0.orig/pym/portage_exec.py >+++ portage-2.0/pym/portage_exec.py >@@ -156,6 +156,11 @@ def spawn(mycommand,env={},opt_name=None > pass > > try: >+ if env.has_key("DEBUG_ENV_PICKLE"): >+ import pickle >+ pickle_file=file(env["DEBUG_ENV_PICKLE"],"w") >+ pickle.dump(env,pickle_file) >+ pickle_file.close() > #print "execing", myc, myargs > os.execve(myc,myargs,env) > except SystemExit, e:
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 46271
:
65271
|
65290
| 65378 |
65526
|
65531