[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bash 3.1.x doesn't close linux fifos properly. See gentoo bug 133635.
From: |
Peter Fox |
Subject: |
Bash 3.1.x doesn't close linux fifos properly. See gentoo bug 133635. |
Date: |
Mon, 22 May 2006 18:32:48 +0100 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bash 3.1.x doesn't close linux fifos properly. See gentoo bug 133635.,
Peter Fox <=