Message ID | 20240219204502.3095343-2-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=vqHMS+Am; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tdvgd5l3yz23cy for <incoming@patchwork.ozlabs.org>; Tue, 20 Feb 2024 07:45:33 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A39D53858C41 for <incoming@patchwork.ozlabs.org>; Mon, 19 Feb 2024 20:45:31 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id C51733858D35 for <libc-alpha@sourceware.org>; Mon, 19 Feb 2024 20:45:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C51733858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C51733858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708375511; cv=none; b=XTTelJ9BWTVdtJlXA7dOuee1X8cfIm2VZ7WvP02vjsZq6/F8QWXoWWMuAonUyBBl0K3XDLMNzV+f74hJi8GqT7FXdW28v7m9YbRqpJkq660Nk/OI21x5Wo3wMMwePABh1I0fE/IpRkJfQZ9lx5hNWRIEppbc0ljeo/zzGwpA41g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708375511; c=relaxed/simple; bh=2pcO3n3QzcLTEXoLUJhoP/rzNma3qD6133uDLGYDHWs=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=my7DOBZ7rR+HpeoiEc/G4RZ3XkIHXhCpY9tb29/wsQq2VPilW4YJO/O5ZshOYeGW6pUzGhsECniELIiQ6R1QzDZVRjSno1OoAr6Yr2Q3X++h1dYUBbZ1LLf6TFQCV8R2Os5KtSCu7eWVBZR8mN2LVmSUDOH/QR1Pa/Py4XKFGrQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5d8b70b39efso3363307a12.0 for <libc-alpha@sourceware.org>; Mon, 19 Feb 2024 12:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708375508; x=1708980308; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GqMjbh/bGB8MFqoqD/3CB95F3q6+jxXX90AhF6bbzqI=; b=vqHMS+AmGqAZqJZOAovPVyNvcxtSkBi1w2b0fpAveGmEx+9QeO3JXavnVdpsed7UgT nSelfqfE6wrEvOaYV52WhTi8r0FI2NxsMxR2P/LI+LsUMmE4MSNqyfFlRpd3CMUWi8yH MVyChSxMJ7TPVywFq0jmyceLj1PrkRxPJs0FFBDehe9p0inmJd/eh8k8niMQuIRwrWKe peKdwjmH8IOa4HPG+CKVdA5cnyfLZ2XsWGZ2yUtrhX3hLdiXkVFP83ioMAmZVA5TURbK 1AWs60AD/JckzymAd4PcyBwn0bW2CIJtUKAN3Moq7g2Nmyql+d+LMul/bnluKY7wIBl1 YnzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708375508; x=1708980308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GqMjbh/bGB8MFqoqD/3CB95F3q6+jxXX90AhF6bbzqI=; b=CNX6sNc6pHrUMG8WSz+DCN3Bhjm23MTFC1MYGMDqhbU960r57cnND6ge6Ktn9UlwEL a52uJ38fuzBNwLzx2KjnuGNj3/CUxXQC3iu80E1NrbyZx8RaVqTpJYWDGA1OqCZ3bdaH 3kz7bZI3eHZuB0mSK46XfQ5eXfNdbdnLD1pnPh2DevFfh2iixBm5s/hx8hWsYAD1WfpV HrCXhpGZDsvKwXEBQLe6QNqpVgNrpjA0xRnyjNVc2lWW+aVUCYl3PRmXAs+Pmb4z9LEl vLt0qmyEcDC//u0/CUKDTr2sLqL5l6q7oliqOG5uDDhmEJkOLa4lLtVSB+gVN3pTWE9F HqVw== X-Gm-Message-State: AOJu0YwG3uyMYbAu6C9mT8xLlPbw53GH2QqcGgvIx0BKkJRNsRM8bD2+ z7OnVn3slKjER+PEV34fyDiMOUrjOcI8zO7m4WnnpBfqIWytAgv731BuyagexJdrp9wsTc7RxuS z X-Google-Smtp-Source: AGHT+IHpyyusoyCfEhSVOUDiciGvSnTyAqXLhksn7HQhfI7ZtUFXRg6CpK9gamw4ww3StDqm6miwMg== X-Received: by 2002:a05:6a20:9f45:b0:19e:488f:692d with SMTP id ml5-20020a056a209f4500b0019e488f692dmr11987437pzb.7.1708375508200; Mon, 19 Feb 2024 12:45:08 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c0:8177:87f4:ac6d:3153:10b3]) by smtp.gmail.com with ESMTPSA id i28-20020a056a00005c00b006e37bedbcbdsm4369802pfk.115.2024.02.19.12.45.06 for <libc-alpha@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 12:45:07 -0800 (PST) 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 Message-Id: <20240219204502.3095343-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219204502.3095343-1-adhemerval.zanella@linaro.org> References: <20240219204502.3095343-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org |
Series |
Improve wcsstr
|
expand
|
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)