From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 3279F1B456 for ; Tue, 12 Feb 2019 10:27:23 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BF1B3220AD; Tue, 12 Feb 2019 04:27:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 12 Feb 2019 04:27:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=CF4cGLOsCVuZxipydpRYyhB6Ihm32twolUu0Af2Kl7Y=; b=Y/RAiDe8B4uE r0XR0yV3e/RQ1vIVZULzpgU459fXHzNS2uv6m7r7Ko4MwNaSl3izLaG7oaKT74jL +ih6gAL+WVRrKVfOLcgrm3ZbEVpZI9Aji85DCtyEq/qvKX4D7eLWIQWC1ZQBU2V7 VK+eOX9eqor0fTr4v1TauJdjvP+M3so= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=CF4cGLOsCVuZxipydpRYyhB6Ihm32twolUu0Af2Kl 7Y=; b=6oAqPHyxVBg8ED9VEXJWWkyTlL80YGZ1PBNdJvuQoKOS7+BiI0PGOB6qI Dr0ICMzlAoKTXPvCW3d+f+txc11Uy9e4mMsYDDB4J2TGXj54pauUGYahoRPpIXBn vY/h/jJomUvcT3Ag8LtdtUDM0BMrB/Xx6nRrPYsgktCtLYK3KLGEcEYNV6yuEUNq 25Z4qFCHMLKQM221nhHsHmYiouBNS9AWl4bCOupwoowIoTlBH1TaikW46pBL9I0R OERMxrzZW7/TH1Wdex+ZZrAueEMqumyH3GiTfGnADaWQaxxG4NI/A4nIZ3AvXO/B t+qkZCjV76/Cni68GtEIlMiFxLlAw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtuddgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjg hfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcu oehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtd efrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 71702E409D; Tue, 12 Feb 2019 04:27:21 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, Ferruh Yigit , Reshma Pattan Date: Tue, 12 Feb 2019 10:27:18 +0100 Message-ID: <3010491.PDLS4ERxaY@xps> In-Reply-To: <20190117173032.42076-1-bruce.richardson@intel.com> References: <20190116124836.40132-1-bruce.richardson@intel.com> <20190117173032.42076-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] eal: support strlcat function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 09:27:23 -0000 17/01/2019 18:30, Bruce Richardson: > Add the strlcat function to DPDK to exist alongside the strlcpy one. > While strncat is generally safe for use for concatenation, the API for the > strlcat function is perhaps a little nicer to use, and supports truncation > detection. > > See commit 5364de644a4b ("eal: support strlcpy function") for more > details on the function selection logic, since we only should be using the > DPDK-provided version when no system-provided version is present. > > Signed-off-by: Bruce Richardson > Reviewed-by: Ferruh Yigit Applied, thanks