diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-06-29 21:08:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-06-29 21:08:13 +0000 |
commit | eabea97226515d709064e07485caeb41d413ca44 (patch) | |
tree | 4450ce95970fb59807e4ad818bdfdeaf01422d99 /catgets/test-gencat.sh | |
parent | Update. (diff) | |
download | glibc-eabea97226515d709064e07485caeb41d413ca44.tar.gz glibc-eabea97226515d709064e07485caeb41d413ca44.tar.bz2 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.sh')
-rwxr-xr-x | catgets/test-gencat.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/catgets/test-gencat.sh b/catgets/test-gencat.sh index 3e9356a5ef..7b88994f34 100755 --- a/catgets/test-gencat.sh +++ b/catgets/test-gencat.sh @@ -1,6 +1,6 @@ #! /bin/sh # Test escape character handling in gencat. -# Copyright (C) 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. # This file is part of the GNU C Library. # @@ -36,12 +36,14 @@ sample2:日本語: sample3:予定表: sample4:TEST TAB: sample5:機能 十種類: +double slash\ +another line EOF res=$? cat <<EOF | -#define AnotherSet 0x2 /* *standard input*:11 */ -#define AnotherFOO 0x1 /* *standard input*:12 */ +#define AnotherSet 0x2 /* *standard input*:13 */ +#define AnotherFOO 0x1 /* *standard input*:14 */ EOF cmp ${common_objpfx}catgets/test-gencat.h - || res=1 |