summaryrefslogtreecommitdiff
path: root/localedata/tst-rpmatch.sh
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2012-10-22 17:12:17 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-22 17:12:17 +0000
commit6fb54a225415a91050eb004d05bc62d6c3ca2b53 (patch)
tree5ac6cc960e031708a92f7d0308c2c3618943c6b5 /localedata/tst-rpmatch.sh
parent2b4a59f535079f07d7d63c3bab98e67263092c71 (diff)
downloadglibc-6fb54a225415a91050eb004d05bc62d6c3ca2b53.tar.gz
Don't pass shell loops' stdin to programs run on glibc's host.
Diffstat (limited to 'localedata/tst-rpmatch.sh')
-rwxr-xr-xlocaledata/tst-rpmatch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/localedata/tst-rpmatch.sh b/localedata/tst-rpmatch.sh
index 0fb0cdf1ea..8788879271 100755
--- a/localedata/tst-rpmatch.sh
+++ b/localedata/tst-rpmatch.sh
@@ -28,7 +28,7 @@ while IFS=\& read locale string result dummy; do
if [ "$locale" != "#" ]; then
LOCPATH=${common_objpfx}localedata \
GCONV_PATH=${common_objpfx}/iconvdata \
- ${tst_rpmatch} $locale $string $result \
+ ${tst_rpmatch} $locale $string $result < /dev/null \
|| { echo "$locale $string $result FAILED"; exit 1; }
fi
done <<EOF