diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-10-26 18:32:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gcc.gnu.org> | 2015-10-26 18:32:41 +0000 |
commit | 96f3dd0a661a222f0add68a508a1307e3d619157 (patch) | |
tree | 02da245dbfe8364957f88cb6c681100bc38828c7 /gcc/fortran/io.c | |
parent | 15c918bc7645580d6e48fdcab77fc6a2a3347daf (diff) | |
download | gcc-96f3dd0a661a222f0add68a508a1307e3d619157.zip gcc-96f3dd0a661a222f0add68a508a1307e3d619157.tar.gz gcc-96f3dd0a661a222f0add68a508a1307e3d619157.tar.bz2 |
libjava: fix locale handling when sorting JNI methods
When building under LANG=cs_CZ.UTF-8, the JNI method check fails:
/bin/bash ../../scripts/check_jni_methods.sh
Found a problem with the JNI methods declared and implemented.
(<) missing in implementation, (>) missing in header files
> Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent
> Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState
... lots more ...
While the sed commands are run under LC_ALL=C, the two sort commands are
not, and they end up producing unexpected output (for the test). Once we
run both under LC_ALL=C, the check passes. While we're here, we can also
combine latter the `sort|uniq` into `sort -u` to match the earlier code.
URL: https://bugs.gentoo.org/563710
Reported-by: Miroslav Ć ulc <fordfrog@gentoo.org>
From-SVN: r229388
Diffstat (limited to 'gcc/fortran/io.c')
0 files changed, 0 insertions, 0 deletions