Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: mingw32
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='mingw32' -DCONF_MACHTYPE='i686-pc-mingw32'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale'
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include
-I./lib -g -O2
uname output: MINGW32_NT-6.1 BELOUSOV 1.0.18(0.48/3/2) 2012-11-21 22:34
i686 Msys
Machine Type: i686-pc-mingw32
Bash Version: 4.3
Patch Level: 28
Release Status: release
Description:
The commands that read pipe stdin prompts: "Bad file number"
Repeat-By:
echo "hello" | cat
or
echo "hello" | read
Fix:
Similar error occurs when the violated rights of access to files,
but here anonymous channel.
I don't know how to fix it, so while I will use 4.1 version of
bash, that works.