aboutsummaryrefslogtreecommitdiff
path: root/string/test-strcpy.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-12-17 14:27:26 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-17 14:27:26 -0500
commita2d18b64edb486825fb5946eefc2131426ccfec9 (patch)
treec28e220805773e5892b38473125fb7e91a571c4b /string/test-strcpy.c
parentdf33a8fb1cc1ca9e085b92c1620f9346aef0c1c3 (diff)
downloadglibc-a2d18b64edb486825fb5946eefc2131426ccfec9.zip
glibc-a2d18b64edb486825fb5946eefc2131426ccfec9.tar.gz
glibc-a2d18b64edb486825fb5946eefc2131426ccfec9.tar.bz2
WP cleanup
Diffstat (limited to 'string/test-strcpy.c')
-rw-r--r--string/test-strcpy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/string/test-strcpy.c b/string/test-strcpy.c
index d6f4a0b..01a46de 100644
--- a/string/test-strcpy.c
+++ b/string/test-strcpy.c
@@ -142,17 +142,17 @@ static void
do_random_tests (void)
{
size_t i, j, n, align1, align2, len;
-
UCHAR *p1 = (UCHAR *) (buf1 + page_size) - 512;
UCHAR *p2 = (UCHAR *) (buf2 + page_size) - 512;
UCHAR *res;
for (n = 0; n < ITERATIONS; n++)
{
- /* For wcsrchr: align1 and align2 here mean 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 wcsrchr: align1 and align2 here mean 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. */
align1 = random () & (63 / sizeof(CHAR));
if (random () & 1)