about summary refs log tree commit diff
path: root/catgets/test-gencat.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-06-29 21:08:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-06-29 21:08:13 +0000
commiteabea97226515d709064e07485caeb41d413ca44 (patch)
tree4450ce95970fb59807e4ad818bdfdeaf01422d99 /catgets/test-gencat.c
parenta32c7fb447ed82297343b2d7d6da84b57d3ebca1 (diff)
downloadglibc-eabea97226515d709064e07485caeb41d413ca44.tar.gz
glibc-eabea97226515d709064e07485caeb41d413ca44.tar.xz
glibc-eabea97226515d709064e07485caeb41d413ca44.zip
Update.
2002-06-29  Ulrich Drepper  <drepper@redhat.com>

	* catgets/gencat.c (read_input_file): Handle more than one slash
	at end of line correctly [PR libc/3926].
	Based on a patch by Steven Kim <steven.kim@peregrine.com>.

	* catgets/sample.SJIS: Add test case for above bug.
	* catgets/test-gencat.c: Adjust test code.
	* catgets/test-gencat.sh: Adjust expected results.

	* elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation
	to skip relative relocations.
	Patch by Geoff Keating <geoffk@redhat.com>.
Diffstat (limited to 'catgets/test-gencat.c')
-rw-r--r--catgets/test-gencat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/catgets/test-gencat.c b/catgets/test-gencat.c
index cb026fdc60..eaa9b895f6 100644
--- a/catgets/test-gencat.c
+++ b/catgets/test-gencat.c
@@ -23,6 +23,8 @@ main (void)
   printf ("%s\n", catgets(catalog, 1, 3, "sample 3"));
   printf ("%s\n", catgets(catalog, 1, 4, "sample 4"));
   printf ("%s\n", catgets(catalog, 1, 5, "sample 5"));
+  printf ("%s\n", catgets(catalog, 1, 6, "sample 6"));
+  printf ("%s\n", catgets(catalog, 1, 7, "sample 7"));
   catclose (catalog);
 
   return 0;