Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435198 Details for
Bug 583962
__multijob_init: work around Cygwin FIFO shortcomings
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for __multijob_init to work with Cygwin FIFO
0001-__multijob_init-work-with-Cygwin-FIFO-583962.patch (text/plain), 1.06 KB, created by
Michael Haubenwallner (RETIRED)
on 2016-05-24 11:04:42 UTC
(
hide
)
Description:
patch for __multijob_init to work with Cygwin FIFO
Filename:
MIME Type:
Creator:
Michael Haubenwallner (RETIRED)
Created:
2016-05-24 11:04:42 UTC
Size:
1.06 KB
patch
obsolete
>From bab91133ad74e4dc23e792ddb8c1a22f795e5fc9 Mon Sep 17 00:00:00 2001 >From: Michael Haubenwallner <haubi@gentoo.org> >Date: Tue, 24 May 2016 12:54:38 +0200 >Subject: [PATCH] __multijob_init: work with Cygwin FIFO, #583962 > >--- > bin/helper-functions.sh | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/bin/helper-functions.sh b/bin/helper-functions.sh >index c096aed..4c3f0a5 100644 >--- a/bin/helper-functions.sh >+++ b/bin/helper-functions.sh >@@ -21,11 +21,12 @@ __multijob_init() { > # Setup a pipe for children to write their pids to when they finish. > # We have to allocate two fd's because POSIX has undefined behavior > # when you open a FIFO for simultaneous read/write. #487056 >+ # And Cygwin supports just one read/write fd at once. #583962 > local pipe=$(mktemp -t multijob.XXXXXX) > rm -f "${pipe}" > mkfifo -m 600 "${pipe}" >- __redirect_alloc_fd mj_write_fd "${pipe}" > __redirect_alloc_fd mj_read_fd "${pipe}" >+ __redirect_alloc_fd mj_write_fd "${pipe}" '>' > rm -f "${pipe}" > > # See how many children we can fork based on the user's settings. >-- >2.7.3 >
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 583962
: 435198