about summary refs log tree commit diff
path: root/libidn/stringprep.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-04 19:25:38 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-04 19:25:38 +0000
commit2d7ae2107d3713981a66011ec62d094e32ec46fb (patch)
tree0446bffdf7488f7d4df9354d993c2206b896fa7d /libidn/stringprep.c
parentce118ec6f3f1dbca08e03d25492f71974e125251 (diff)
downloadglibc-2d7ae2107d3713981a66011ec62d094e32ec46fb.tar.gz
glibc-2d7ae2107d3713981a66011ec62d094e32ec46fb.tar.xz
glibc-2d7ae2107d3713981a66011ec62d094e32ec46fb.zip
Update.
	* sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
	  rt-sysdep.
	* sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
Diffstat (limited to 'libidn/stringprep.c')
-rw-r--r--libidn/stringprep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libidn/stringprep.c b/libidn/stringprep.c
index 357f9e924f..1841b36178 100644
--- a/libidn/stringprep.c
+++ b/libidn/stringprep.c
@@ -42,7 +42,7 @@ stringprep_find_character_in_table (uint32_t ucs4,
      mostly interested in having someone give real-world benchmark on
      the impact of libidn.) */
 
-  for (i = 0; table[i].start; i++)
+  for (i = 0; table[i].start || table[i].end; i++)
     if (ucs4 >= table[i].start &&
 	ucs4 <= (table[i].end ? table[i].end : table[i].start))
       return i;