aboutsummaryrefslogtreecommitdiff
path: root/posix/bug-regex4.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-27 08:28:46 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-27 08:28:46 +0000
commitd683fe11f91717f0f9c2cf238c8bff0f1618c1ae (patch)
tree18cd385117a55cab137854ac22a328207963a720 /posix/bug-regex4.c
parentac3d553b8b5bcfbc7a13bd746966036422cf5275 (diff)
downloadglibc-d683fe11f91717f0f9c2cf238c8bff0f1618c1ae.tar
glibc-d683fe11f91717f0f9c2cf238c8bff0f1618c1ae.tar.gz
glibc-d683fe11f91717f0f9c2cf238c8bff0f1618c1ae.tar.bz2
glibc-d683fe11f91717f0f9c2cf238c8bff0f1618c1ae.zip
Update.
2002-07-16 Stepan Kasal <kasal@math.cas.cz> * posix/bug-regex7.c: New file. * posix/bug-regex8.c: New file. * posix/Makefile (tests): Add bug-regex7 and bug-regex8. 2002-07-16 Stepan Kasal <kasal@math.cas.cz> * posix/bug-regex4.c (main): Fix typos. * posix/bug-regex6.c (main): Likewise. * posix/bug-regex6.c (main): Fix warnings. * stdio-common/printf_fp.c (__printf_fp): If _FPIO_CONST_SHIFT is
Diffstat (limited to 'posix/bug-regex4.c')
-rw-r--r--posix/bug-regex4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/posix/bug-regex4.c b/posix/bug-regex4.c
index 5ecca1a8d0..317a678c0c 100644
--- a/posix/bug-regex4.c
+++ b/posix/bug-regex4.c
@@ -1,5 +1,5 @@
/* Test for re_search_2.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2001.
@@ -38,7 +38,7 @@ main (void)
s = re_compile_pattern ("ab[cde]", 7, &regex);
if (s != NULL)
{
- puts ("re_compile_pattern return non-NULL value");
+ puts ("re_compile_pattern returned non-NULL value");
result = 1;
}
else
@@ -48,7 +48,7 @@ main (void)
match[2] = re_search_2 (&regex, "xya", 3, "bd", 2, 2, 6, NULL, 8);
if (match[0] != 2 || match[1] != 0 || match[2] != 2)
{
- printf ("re_match returned %d,%d,%d, expected 2,0,2\n",
+ printf ("re_search_2 returned %d,%d,%d, expected 2,0,2\n",
match[0], match[1], match[2]);
result = 1;
}