Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87093 - bash read-builtin does not work with "-u <pipe>" other than zero
Summary: bash read-builtin does not work with "-u <pipe>" other than zero
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 03:40 UTC by Michael Haubenwallner (RETIRED)
Modified: 2005-03-30 07:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2005-03-29 03:40:05 UTC
While porting current portage-cvs to Solaris, the ebuild-daemon did not work
as expected. I've found the problem in bash when using 'read -u <fd>', with
fd other than zero. See the URL to the bug-bash list at lists.gnu.org.
I'm not sure when bash-maintainers create a new release, so please create
a new bash-2.05b-rX.ebuild (and even bash-3.0).

Reproducible: Always
Steps to Reproduce:
1. Install current portage-cvs on Solaris, or another test program which communicates with bash over pipes. You can get mine if you want.
2. Start this with 'truss -t read' and see that bash reads from pipe with
bufsize 128 instead of 1.
Comment 1 SpanKY gentoo-dev 2005-03-29 07:46:17 UTC
where's the patch ?
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2005-03-29 19:57:37 UTC
Previous Message of URL above:
http://lists.gnu.org/archive/html/bug-bash/2005-03/msg00168.html
Comment 3 SpanKY gentoo-dev 2005-03-29 20:13:18 UTC
that'll do it
Comment 4 SpanKY gentoo-dev 2005-03-29 21:11:04 UTC
fixed with bash-3.0-r9
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2005-03-30 06:45:53 UTC
can you fix this with bash-2.05b too or does bash-3.0 become marked stable soon
for several archs ?
Comment 6 SpanKY gentoo-dev 2005-03-30 07:28:00 UTC
bash-3 will go stable eventually