X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fpatches%2Fglibc%2Fglibc-rh1176907.patch;fp=src%2Fpatches%2Fglibc%2Fglibc-rh1176907.patch;h=29cdacfc0f335c5c1a2fd530fe4aaadd743a3649;hb=bb330e25e98f445493f63631c461bec1d7eb211b;hp=0000000000000000000000000000000000000000;hpb=a439a239bc8008659bb40951f5ca15249fb19d97;p=people%2Fjschlag%2Fipfire-2.x.git diff --git a/src/patches/glibc/glibc-rh1176907.patch b/src/patches/glibc/glibc-rh1176907.patch new file mode 100644 index 0000000000..29cdacfc0f --- /dev/null +++ b/src/patches/glibc/glibc-rh1176907.patch @@ -0,0 +1,22 @@ +commit 7d81e8d6db95c112c297930a8f2f9617c305529a +Author: Florian Weimer +Date: Tue Dec 23 16:16:32 2014 +0100 + + iconvdata/run-iconv-test.sh: Actually test iconv modules + + Arjun Shankar noticed that this test case was not testing anything + because iconv was invoked without the required arguments. + +diff --git a/iconvdata/run-iconv-test.sh b/iconvdata/run-iconv-test.sh +index 5dfb69f..1d0bf52 100755 +--- a/iconvdata/run-iconv-test.sh ++++ b/iconvdata/run-iconv-test.sh +@@ -189,7 +189,7 @@ printf '\016\377\377\377\377\377\377\377' > $temp1 + for from in $iconv_modules ; do + echo $ac_n "test decoder $from $ac_c" + PROG=`eval echo $ICONV` +- if $PROG < $temp1 >/dev/null 2>&1 ; then ++ if $PROG -f $from -t UTF8 < $temp1 >/dev/null 2>&1 ; then + : # fall through + else + status=$?