about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-17 14:19:26 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-17 14:19:26 -0500
commitdf33a8fb1cc1ca9e085b92c1620f9346aef0c1c3 (patch)
treeaead8bf0a8cd94a5bcf24786a932fcb3b58a5b39
parent5b330a2d903b68cf6db64aac230bf64e18fa9624 (diff)
downloadglibc-df33a8fb1cc1ca9e085b92c1620f9346aef0c1c3.tar.gz
glibc-df33a8fb1cc1ca9e085b92c1620f9346aef0c1c3.tar.xz
glibc-df33a8fb1cc1ca9e085b92c1620f9346aef0c1c3.zip
Fix WP
-rw-r--r--string/test-strrchr.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/string/test-strrchr.c b/string/test-strrchr.c
index 38afbbe15e..6126a530c6 100644
--- a/string/test-strrchr.c
+++ b/string/test-strrchr.c
@@ -2,7 +2,8 @@
    Copyright (C) 1999, 2002, 2003, 2005, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Jakub Jelinek <jakub@redhat.com>, 1999.
-   Added wcsrrchr support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011.
+   Added wcsrrchr support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>,
+   2011.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -145,15 +146,16 @@ do_random_tests (void)
   for (n = 0; n < ITERATIONS; n++)
     {
       align = random () & (63 / sizeof(CHAR));
-   /* For wcsrchr: align here means align not in bytes, but in wchar_ts,
+      /* For wcsrchr: align here means align not in bytes, but in wchar_ts,
 	 in bytes it will equal to align * (sizeof (wchar_t)).
-   For strrchr we need to check all alignments from 0 to 63 since some assembly implementations
-   have separate prolog for alignments more 48. */
+	 For strrchr we need to check all alignments from 0 to 63 since
+	 some assembly implementations have separate prolog for alignments
+	 more 48. */
       pos = random () & 511;
       if (pos + align >= 511)
 	pos = 510 - align - (random () & 7);
       len = random () & 511;
-   /* len for wcschr here isn't in bytes but it's number of wchar_t
+      /* len for wcschr here isn't in bytes but it's number of wchar_t
 	 symbols.  */
       if (pos >= len)
 	len = pos + (random () & 7);