From: "H.J. Lu via Libc-alpha" <libc-alpha@sourceware.org>
To: libc-alpha@sourceware.org
Subject: [COMMITTED] [PATCH] Reindent string/test-memmove.c
Date: Mon, 19 Apr 2021 17:48:02 -0700 [thread overview]
Message-ID: <20210420004802.2118459-1-hjl.tools@gmail.com> (raw)
---
string/test-memmove.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/string/test-memmove.c b/string/test-memmove.c
index 2e665fa3a5..b271248b1d 100644
--- a/string/test-memmove.c
+++ b/string/test-memmove.c
@@ -286,25 +286,25 @@ do_test2 (size_t offset)
src[i] = (uint32_t) i;
- #ifdef TEST_BCOPY
+#ifdef TEST_BCOPY
CALL (impl, (char *) src, (char *) dst, bytes_move);
- #else
+#else
CALL (impl, (char *) dst, (char *) src, bytes_move);
- #endif
+#endif
for (i = 0; i < arr_size; i++)
- {
- if (dst[i] != (uint32_t) i)
- {
- error (0, 0,
- "Wrong result in function %s dst \"%p\" src \"%p\" offset \"%zd\"",
- impl->name, dst, large_buf, i);
- ret = 1;
- munmap ((void *) large_buf, size);
- return;
- }
- }
- }
+ {
+ if (dst[i] != (uint32_t) i)
+ {
+ error (0, 0,
+ "Wrong result in function %s dst \"%p\" src \"%p\" offset \"%zd\"",
+ impl->name, dst, large_buf, i);
+ ret = 1;
+ munmap ((void *) large_buf, size);
+ return;
+ }
+ }
+ }
src = dst;
dst = large_buf;
}
--
2.30.2
reply other threads:[~2021-04-20 0:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210420004802.2118459-1-hjl.tools@gmail.com \
--to=libc-alpha@sourceware.org \
--cc=hjl.tools@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).