From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org
Subject: [PATCH 1/3] string: Remove c_strstr from test-strstr
Date: Mon, 19 Feb 2024 17:45:00 -0300 [thread overview]
Message-ID: <20240219204502.3095343-2-adhemerval.zanella@linaro.org> (raw)
In-Reply-To: <20240219204502.3095343-1-adhemerval.zanella@linaro.org>
There is no much point is checking the generic code if this is not
really used by libc.
---
string/test-strstr.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/string/test-strstr.c b/string/test-strstr.c
index 4115f7d2fd..05d0b7c98c 100644
--- a/string/test-strstr.c
+++ b/string/test-strstr.c
@@ -21,11 +21,6 @@
#include "test-string.h"
-#define STRSTR c_strstr
-#define libc_hidden_builtin_def(arg) /* nothing */
-#define __strnlen strnlen
-#include "strstr.c"
-
/* Naive implementation to verify results. */
static char *
simple_strstr (const char *s1, const char *s2)
@@ -52,7 +47,6 @@ simple_strstr (const char *s1, const char *s2)
typedef char *(*proto_t) (const char *, const char *);
-IMPL (c_strstr, 0)
IMPL (strstr, 1)
--
2.34.1
next prev parent reply other threads:[~2024-02-19 20:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-19 20:44 [PATCH 0/3] Improve wcsstr Adhemerval Zanella
2024-02-19 20:45 ` Adhemerval Zanella [this message]
2024-02-19 20:45 ` [PATCH 2/3] wcsmbs: Add test-wcsstr Adhemerval Zanella
2024-02-19 20:45 ` [PATCH 3/3] wcsmbs: Ensure wcstr worst-case linear execution time (BZ 23865) Adhemerval Zanella
2024-02-20 0:15 ` Noah Goldstein
2024-02-20 11:56 ` Adhemerval Zanella Netto
2024-02-20 13:01 ` Alexander Monakov
2024-02-20 13:16 ` Adhemerval Zanella Netto
2024-02-20 16:07 ` Noah Goldstein
2024-02-20 16:37 ` Adhemerval Zanella Netto
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240219204502.3095343-2-adhemerval.zanella@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
/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).