Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61460 Details for
Bug 92349
bash: PGRP_PIPE breaks ( exec 3>&1; : `echo>&3` )
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
pipe.patch (text/plain), 540 bytes, created by
Harald van Dijk (RETIRED)
on 2005-06-18 14:43:03 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Harald van Dijk (RETIRED)
Created:
2005-06-18 14:43:03 UTC
Size:
540 bytes
patch
obsolete
>--- bash-3.0.old/jobs.c >+++ bash-3.0/jobs.c >@@ -437,8 +437,15 @@ > #if defined (PGRP_PIPE) > if (job_control) > { >+ int fd; > if (pipe (pgrp_pipe) == -1) > sys_error ("start_pipeline: pgrp pipe"); >+ if ((fd = fcntl(pgrp_pipe[0], F_DUPFD, 10)) == -1 || close(pgrp_pipe[0]) == -1) >+ sys_error ("start_pipeline: pgrp pipe"); >+ pgrp_pipe[0] = fd; >+ if ((fd = fcntl(pgrp_pipe[1], F_DUPFD, 10)) == -1 || close(pgrp_pipe[1]) == -1) >+ sys_error ("start_pipeline: pgrp pipe"); >+ pgrp_pipe[1] = fd; > } > #endif > }
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 92349
: 61460