From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-a5-smtp.messagingengine.com (fout-a5-smtp.messagingengine.com [103.168.172.148]) (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 8A1FF4E8E06 for ; Mon, 28 Sep 2026 15:59:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.148 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790611155; cv=none; b=XXMqfqzecn/arymmcbTixeoOnvVLDPlRfbZR5kxwDmjyQBLnlky2o0M2mtwThkg7XvGn9gkqyd5FeQ4yat2im2Yi+746R2HBAGbTT0j8phckXqkhi8RDUgT96ec2lVDqrVmq6BwcMdfFxODU1k/iEXEAUVIrTL4ameTQh9GVK4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790611155; c=relaxed/simple; bh=eZCAcciExR2uiA2BN0TqmGeDUI9+ZMXuROiCMTFsz/Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=AsTZUZOqYggk99pU+PZ8aqkWobl1oGOPhKzddgju6O/HjXGV2+3/BMZ9561ZWxiI1dhnBDYb1LufCePopCEWXa5SomMWbcxmPBqbG04RCxHXyGScnUNfY0zS7unv04z6f6iFP48QOiZ74+NGG8o5wMzXWKFeUvAyZgkWOwEtlmg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=I7oLHhTn; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=uvajPlo1; arc=none smtp.client-ip=103.168.172.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="I7oLHhTn"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="uvajPlo1" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 9C680EC00CC; Mon, 28 Sep 2026 11:59:13 -0400 (EDT) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-04.internal (MEProxy); Mon, 28 Sep 2026 11:59:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; 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=fm3; t=1790611153; x=1790697553; bh=Ta23jW6iqn IqbgHvqFjDr10yVQYhKh61SLS6FsqkMgM=; b=I7oLHhTnY//O1nagC2f4D32Z/V 0vwky2zXbtPN1OXTZHbCBxZBpu8nizHW7G2bgsUFNAa4/KurwiN0wlXh7ui74YbO jtiiWhaxTzk1FDLcqXub/vri5OAN1E23/NOpQAqWDAACllcBV6W0ojfld94NfULn xN363TTn2zyhZx/cWTvHrUFVzSHThcZuNVzsLKm8LvjSzFQjMKHVNbGFAJ5MzHhi rlA1LvM7nVfx3BLMwSjjQs1EV0l2ptRP5R9TFJnYrUbkHcHTupdXQOOu81dv0M8+ yWK00HoZsCvWjKF4IFkN1IL2O+UPAhAtQrU5foceAdSobhIWFDyh+oqR0Wcg== 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-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1790611153; x=1790697553; bh=Ta23jW6iqnIqbgHvqFjDr10yVQYhKh61S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7YhmetQ X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 28 Sep 2026 11:59:12 -0400 (EDT) From: Junio C Hamano To: Patrick Steinhardt Cc: Kaartic Sivaraam , Karthik Nayak , git@vger.kernel.org Subject: Re: [PATCH v2 0/7] setup: enforce repo passed to `create_repository()` has no state In-Reply-To: (Patrick Steinhardt's message of "Mon, 28 Sep 2026 14:48:43 +0200") References: <20260924-pks-create-repository-stateless-v1-0-11499557cf31@pks.im> <20260928-pks-create-repository-stateless-v2-0-a03612f703fa@pks.im> <886d145f-ac38-4079-8a96-f09904fc3b10@gmail.com> Date: Mon, 28 Sep 2026 08:59:11 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Patrick Steinhardt writes: >> Oops. I meant s/free(3p)/free(3)/ > > Ah. 3p is correct though and refers to the POSIX man pages. If used in a context where you really care about posix specified behaviour and are interferred by differences among generic C library's free() implementations, free(3p) may be the right way to spell it out concisely. Everywhere else, like in this patch where you do not care about the distinction, the extra 'p' is merely a noise, I would have to say. If you are writing a wrapper that _depends_ on your platform free() being strictly posix compliant, then you might write something like #ifdef WE_HAVE_POSIX_FREE #define safe_free(x) free(x) #else static void safe_free(void *x) { ... } #endif and your commit log message may say "We use free(3p) where available, but otherwise emulate it via platform free() with some safety knob".