Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2864461rdb; Mon, 12 Feb 2024 22:06:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWROqBoyWg4bnD7btol/KeuglHu3zSmiPCiaRe2AMD1krr4Dyowv9ky8aa72VagvIPwbw720E0L0xKRQmpBWHBmuUf54T1LLAHC9661Hw== X-Google-Smtp-Source: AGHT+IECV1X1Cw26ffMTg4DdnRMlTeC5/SFGal2ZmMmZDC9KrTy3TfYws2d1SW7hGKGiEBfCdFxG X-Received: by 2002:aa7:c913:0:b0:561:f130:9298 with SMTP id b19-20020aa7c913000000b00561f1309298mr553715edt.9.1707804391176; Mon, 12 Feb 2024 22:06:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707804391; cv=pass; d=google.com; s=arc-20160816; b=V2eEfj0W/X03RFedNUEYWTBpy2f0xZYuGIXBZeMV1N6BMqI2pc7QPhcxzAsFIP9DZw kGgQTpcU3C5QSHzUFJTRyIcHX6GUwqzdMGXnvvrNSYT8RMVnIPWMxvjQquGsQETuCpUO dtHENLr8xWhugP5cYv0CGnEr2TA2LFjgZH+meAvalXwo4PyiFfyG/p1Rs0AWsCRRyN9k uILrNPlGvLQyISRdiETN1Zh3sntlTErGLoqFoiDALaDUzPuv76xBHAMu32QxAPAH5wp0 RDE6p76yiVccSkol27UD4xHb4g6AFwcfWOpaWeg4KvHQz4JNcy58rBtB5/paJTiXnG6Z XtrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=oXNMopO4Xi9Z6J0QPkQVUtxVirZtOZmBo0EIIpsj73o=; fh=ET03J+INPsGJ77hBwgcY1nA7qTNXWUnQWREprq62EaY=; b=K8mQAwmw1t7fePlEdK+RLVua2UeDqO3vYyqEQhC7slq5xjUUo0tGE6A/wwFYxLgtbs LNs0rjKPC+ETB66JPb3WWlc43LiUfJKxacRB5P5cX6KCncF7dcNsgyAl9kvLeJEeq+KS Rky693sek98nUpapwC2hPHJ0VlqYfR4IrJWETc9lU3MJbxPK6YYFtY2Gz7PrwIu1I6Wf 6QNsz0UqtwQKHmWBimU2iNV06+AChs8BH5hvA2xDKZkoLKFqSRoEVma9MK2swg/1LDiT k3e0IeeuPNh9HgjAS+XLfyPJKxm7BFpBilk+b8P7PLvpJJ3ykQMXV+r4w1C7W554GGdd ecRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sdfg.com.ar); spf=pass (google.com: domain of linux-kernel+bounces-62990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62990-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUb5cFDG/QCMFJJHOuzTA1ZHdBDGlPxLePRrTi5fJcHvMWJ0Itps1sP+affEv04mdG8s0JOeivWKrvujJdfzRn89OOS/uAzGQ16UJ0Ttw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q15-20020aa7da8f000000b005612c173683si3413845eds.176.2024.02.12.22.06.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 22:06:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sdfg.com.ar); spf=pass (google.com: domain of linux-kernel+bounces-62990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62990-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 144B21F21885 for ; Tue, 13 Feb 2024 06:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4D6518AEA; Tue, 13 Feb 2024 06:04:53 +0000 (UTC) Received: from alerce.blitiri.com.ar (alerce.blitiri.com.ar [49.12.208.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3131018659 for ; Tue, 13 Feb 2024 06:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=49.12.208.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707804293; cv=none; b=JE4/+UYggy09djscBIsXx4Vqfbts645IRSHWbgtGS5/zmYPKatYSW3wXNnkF/qv/GgBKp0CY1w0Dc01d/rVBVQeUV2Sa6IZibF0+0jR8ro1UhJxDJnGDsftnX4RUPY22osimuPNzNiLtd7c69OsHrmqICKyPTSO9cpx5+TXu2TQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707804293; c=relaxed/simple; bh=qxuoBS4d0ZV5YWPV7tIWWZ16ZSmSB9y9TnGRUPPxDTc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F1D2Rml4jt6F90eP9ou8mLa0AEtpzYxwVBOJY32krQBRWGFXSQ35Kn+qhM4VYNgKAzHaxsYu8S08nddE5VqWnBC0X2C72ae55s3gyeNogjDHJ1cjDNsRUcTRglCrgejS9XaPX5FhIDjAqiXM62sm1w4H/6fNbxOpLbVcYLnhovk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sdfg.com.ar; spf=pass smtp.mailfrom=sdfg.com.ar; arc=none smtp.client-ip=49.12.208.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sdfg.com.ar Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sdfg.com.ar Received: from [192.168.0.26] by sdfg.com.ar (chasquid) with ESMTPSA tls TLS_AES_128_GCM_SHA256 (over submission+TLS, TLS-1.3, envelope from "rodrigo@sdfg.com.ar") ; Tue, 13 Feb 2024 06:04:48 +0000 Message-ID: <155d9261-a429-47c4-834b-b435782615ca@sdfg.com.ar> Date: Tue, 13 Feb 2024 07:04:44 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] tools/nolibc: Fix strlcat() return code and size usage Content-Language: en-US To: Willy Tarreau Cc: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , linux-kernel@vger.kernel.org References: <20240129141516.198636-1-rodrigo@sdfg.com.ar> <20240129141516.198636-3-rodrigo@sdfg.com.ar> <20240211104817.GA19364@1wt.eu> From: Rodrigo Campos In-Reply-To: <20240211104817.GA19364@1wt.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/11/24 11:48, Willy Tarreau wrote: > For me it's 58 bytes, or 19 less / 25% smaller, and at first glance it > should do the right thing as well. Oh, here I get almost the same (57 bytes), so it must be the example we are compiling what is different. I'll check this after some sleep :)