Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 360230 Details for
Bug 487056
multiprocessing.eclass relies on sane fifos behavior: opening for simultaneous r/w behavior
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
multiprocessing.eclass patch
multiprocessing.eclass.patch (text/plain), 947 bytes, created by
Alan Hourihane
on 2013-10-06 13:53:55 UTC
(
hide
)
Description:
multiprocessing.eclass patch
Filename:
MIME Type:
Creator:
Alan Hourihane
Created:
2013-10-06 13:53:55 UTC
Size:
947 bytes
patch
obsolete
>--- multiprocessing.eclass.old 2012-07-30 16:01:14.000000000 +0100 >+++ multiprocessing.eclass 2013-10-06 11:26:51.917852533 +0100 >@@ -67,8 +67,9 @@ > > # Setup a pipe for children to write their pids to when they finish. > local pipe="${T}/multijob.pipe" >- mkfifo "${pipe}" >- redirect_alloc_fd mj_control_fd "${pipe}" >+ mkfifo -m 600 "${pipe}" >+ redirect_alloc_fd mj_write_fd "${pipe}" >+ redirect_alloc_fd mj_read_fd "${pipe}" > rm -f "${pipe}" > > # See how many children we can fork based on the user's settings. >@@ -120,7 +121,7 @@ > esac > > if [[ $# -eq 0 ]] ; then >- trap 'echo ${BASHPID} $? >&'${mj_control_fd} EXIT >+ trap 'echo ${BASHPID} $? >&'${mj_write_fd} EXIT > trap 'exit 1' INT TERM > else > local ret >@@ -169,7 +170,7 @@ > [[ $# -eq 0 ]] || die "${FUNCNAME} takes no arguments" > > local pid ret >- read -r -u ${mj_control_fd} pid ret || die >+ read -r -u ${mj_read_fd} pid ret || die > : $(( --mj_num_jobs )) > return ${ret} > }
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 487056
: 360230 |
360232