Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: i686-pc-linux-gnu-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib   -march=athlon-xp -mmmx -msse 
-mfpmath=sse -m3dnow -O3 -pipe -fomit-frame-pointer
uname output: Linux cool 2.6.16-gentoo-r6 #1 PREEMPT Sat May 6 22:46:53 BST 
2006 i686 AMD Sempron(tm) Processor 2800+ GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 3.0
Patch Level: 16
Release Status: release

Description:

Bash 3.1.16 doesn't seem to close named pipes properly. I've reported this
on the gentoo bugs list as bug 133635. The version reported above is ok.

Repeat-By:

Test script:
#!/bin/bash
myfifo=/tmp/pipetest-fifo-$$
rm -f $myfifo
mkfifo $myfifo
cat <$myfifo &
catpid=$!
exec 55>$myfifo

echo "Fred" >&55
echo "woz" >&55
echo "ere" >&55

exec 55>&-
wait $catpid

Running the test script in bash 3.1.16 hangs after printing
"ere". Bash 2.05x and 3.0.x terminate normally.



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to