Message ID | cover.1717740365.git.ps@pks.im (mailing list archive) |
---|---|
Headers | show
Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F112A29CE1 for <git@vger.kernel.org>; Fri, 7 Jun 2024 06:37:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717742264; cv=none; b=LRep+qmawNnttVwc+72cyf5fl9nlbVFRMaHAo2Q9YCEBv/yqi6LmCz2sYEJqwHd/sZmdg8kiBuOFdGfQ4hPdQwtGqG48Pd1aWgxpVt+cgRHvJEk0curFII4icyhblIDC/3zIkU4PB0Txux/eV8NQ42xhplYglyN2mtapX60p6sM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717742264; c=relaxed/simple; bh=R8rcusY01eXcyL56BGTaG6GueT3TDzrEEYmVdz3Lys0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dF1YKd2r3ZVoA9iaPzRx2vQVg9UEVLTAcXUj7g7iK5/DumBqnZieHZhETHpD9dLpNAHOWsRXTduJl3dhDp9gXhPwXsd8+b5XNxj/KwWuwU49yrTBj8sDeDH2Pz1e4/jYr2Owii64H7zI4vE6j4HvXqwiKx/qgI8oLvKu5LYPNMM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im; spf=pass smtp.mailfrom=pks.im; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b=H1J1G5oB; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=NV3SEh2D; arc=none smtp.client-ip=103.168.172.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=pks.im Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pks.im Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="H1J1G5oB"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="NV3SEh2D" Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A0A2911401F9; Fri, 7 Jun 2024 02:37:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 07 Jun 2024 02:37:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=cc:cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1717742260; x=1717828660; bh=bDyxpkqG+U jE53r1G3qCfv1Z7lPKzOBunFJua/QhJAQ=; b=H1J1G5oBzGHrxIpdZM7LXJABNn uHe9yI+NwRkZ2UI7HzCJ52lLG+DIWvh60A19LjLFiJkEQljsGxBadAP+p3UkgEi9 TuePzcUe/NdiH5twEFKgVZZKQmA6bNa+WzwqvrsHIyhhoabRnDMz2RgTOiEYXUQu U+oGB5GF7T9+4+5q5EX0B+z6cDwen6l6fDvViG8vFyonGVt++MyvOSuZ5x4kXW1V /WuQTGQchokWf0SHHxFJxpCPw24EQ6jnSOFs6EGiWt37lYaGKTNvj4Awr47PEZ/9 43XFVSBwbzslXQ718d9olygphXCXENH0wAxeDA51h1Xekda9UtVmH4ij7wWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1717742260; x=1717828660; bh=bDyxpkqG+UjE53r1G3qCfv1Z7lPK zOBunFJua/QhJAQ=; b=NV3SEh2DXiVjaMxdDKwLrlW2O+3lNMf5/z/Yvn1dW6c5 frMCXd3h86F9eOvqagv0vXP0w4OtnF88NkUhTnnQv6vgMaC1nkVsfQcId7dsYmDj qlNdKN2bGGT0zIk/sJSukZKPsbk3UKl+dZobc4Vi4B2wHZe+OlyTc2BW57JGP23q hFM3pTpeLRALfB9i1VCEkELBU+pNHnWraNyUdMzxGt4KiRY8B+XKN1hFf5v1Lqur fxMwbXY6aC9nlge+z73BcnbNoZaF4afc4M1v4waxB90iXHDh74k7bFEG4wEQ+Bqf 1PudMHFWDH+bYMhSoI4EHfHlDlZZNwUjjjPZPeahnQ== X-ME-Sender: <xms:tKpiZiGL5oXt5SbKfaeeQMsM4CKIz9Vyg8apKugD9ZCYW5oaaoR6Bg> <xme:tKpiZjX_ikyGiXZegJmUUit-6iR-RNeQlqro380Lg_k1rvXNE8ZC2Vr466dxqOvfO o4wB4Y3Zsj5o34KOw> X-ME-Received: <xmr:tKpiZsKftKq1abnYUgiO77lGP1QIlEEd_1pCFMxIHiH217HS18uPCQR9N1DYBNPWZrSyXNIQXQtBULeNFPq5d5v6R3ZpNPWaqRC2NwbnbcLrjWGm> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelledguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefrrght rhhitghkucfuthgvihhnhhgrrhguthcuoehpshesphhkshdrihhmqeenucggtffrrghtth gvrhhnpedtkeefgeeiiedugfdvgeeffffgtdehgeefieetffekleetgeffvdfhveejudej tdenucffohhmrghinhepmhgrkhdruggvvhenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehpshesphhkshdrihhm X-ME-Proxy: <xmx:tKpiZsG9K76NwHxWDzFymsR9szsBzoPkNoKilYwxOBQsKCe_VnpJtQ> <xmx:tKpiZoX1Ss0meqSxFO_zC6hC0HtRT-TbDWKLgwZ7mU3TZXXPVTkoWA> <xmx:tKpiZvOjAu8dhcFaH7AEkkl98l7MgF8pzzukN0QKHzc5tG9rNBbmYA> <xmx:tKpiZv2xDXSmZQrJtnu38Qrvt3qbujPKCqNKAcIHfIlG_vgOIm8E_A> <xmx:tKpiZmyj0qg_9yxjxpyu7tn4EPzBlWOa84MnOs4YOnqXubUvbn48JmGS> Feedback-ID: i197146af:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Jun 2024 02:37:39 -0400 (EDT) Received: by localhost (OpenSMTPD) with ESMTPSA id 7ec95149 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Jun 2024 06:37:35 +0000 (UTC) Date: Fri, 7 Jun 2024 08:37:34 +0200 From: Patrick Steinhardt <ps@pks.im> To: git@vger.kernel.org Cc: Jeff King <peff@peff.net>, Junio C Hamano <gitster@pobox.com>, Eric Sunshine <sunshine@sunshineco.com> Subject: [PATCH v6 00/27] Compile with `-Wwrite-strings` Message-ID: <cover.1717740365.git.ps@pks.im> References: <cover.1716983704.git.ps@pks.im> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: <git.vger.kernel.org> List-Subscribe: <mailto:git+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k34eGlmZDX0jAifQ" Content-Disposition: inline In-Reply-To: <cover.1716983704.git.ps@pks.im> |
Series |
Compile with `-Wwrite-strings`
|
expand
|
Patrick Steinhardt <ps@pks.im> writes: > The only change is in patch 12, where we now allocate a buffer later in > time to avoid a useless allocation and the need for a call to free. That makes sense (and is closer to the original anyway). Will queue. Thanks.