From nobody Sat May 09 22:03:38 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gCg3v3Cp3z6csmb for ; Sat, 09 May 2026 22:03:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gCg3v0BvXz438Y for ; Sat, 09 May 2026 22:03:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778364219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y/WUvu9iDiXaQ/iU2iEts6hQLor1oarFU9u3oNV60U4=; b=ld1yVpUv01aXRl3kavEGZJtnOrhp6RE8Cs7FxiQ9i6nZcRs1IcHzhkwzpr9w9ru4lOnRQx SasCX5QFi0m6zmXU3iMb5v2LQUlZyBuzOGzNI9P/NlRhiQi2fty9rSt7i5AYG+Z1S/PVQ0 +zmB4erIkFCtyF+ct7lTFh++LQAwrYrZ8g3PtGdD3TCA5Xu4Ra3Vb/mczaQhrxYa5C7RfW OBoGE5r/MXKbRkGyoVK6lAEzWg7KDR/mSGwuozaRrvzyt613PrA+rnGUV9brrFLXMYuAi0 3VfXiVF3CKvNbDiLk7k3vGoMzbxWzajeSPh9i5J21AbhtJ5UvCg9bufS6Dcfqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778364219; a=rsa-sha256; cv=none; b=CqRH4OHeBHsb96SqZ52nVQ1XO/NVB6K14O24u6/2Ssldx00q0NNz3aqYVOLAF1b/iNLaHu hTdi/Ux6GYBixsiTvXR+4gCeF2bxFCqmSiaH9YXixNl5P3wKVUGOvw4hSHZ4Qu/2qygiFL KI+xxVLSboToHsyB3aZCb0Ef/gEHzh5vHeb2BMxArAhUgqxIxXRNSlTv+v5ugwurxFly1d oujxHYWTN8FhKVpAqeswGKuL4hhT2WGxBJlNh9QcFhLh6cp/mTfFqhygu15xCm4hCxV732 LGUNLV/Br7wIGJUa/MynmkXGZepgK8OdD5tKweH2ZLwVmfw6xoCeFwPhqhamuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778364219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=y/WUvu9iDiXaQ/iU2iEts6hQLor1oarFU9u3oNV60U4=; b=Yn0UTIXiRyiaJ3p6k4W+bAABPWHmdEIVyhSgv4lUs9sLq+Ayyiqv9HFVaTyh4YYE1liKzk P80OAaoaLcTHtfAjB8M9Pm+yWYhXCsgtElPyjgGZvrq1zVDNIFjwb/IaOMOlhkdrhvPvmd nvs75keA+ilf4V1cjwVyYpjv2MW/ojI0ZcwMgDxHaYcjIsdhWzniFkt4yN2qqaiFeMgHZM juEM6qFo1yKqCfChbalh7dcu1Allhfi7J769PkpY23p2L/Pli+xzXOEF6M0EpqOTraGK3/ vs4YCBLqgV6Y5a7yz/ih2MvyHBe2V0EJ8Of7L+CxxTC8hsJCoCVqWUc9iHBLhg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gCg3t6vdRz1GpZ for ; Sat, 09 May 2026 22:03:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 34539 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 09 May 2026 22:03:38 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jilles Tjoelker Subject: git: 3ca8ec19b6ec - main - libc: correct posix_spawn_file_actions_init ENOMEM error List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jilles X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3ca8ec19b6ecc8ae4413d0505ce2d0efdd3e52c8 Auto-Submitted: auto-generated Date: Sat, 09 May 2026 22:03:38 +0000 Message-Id: <69ffaf3a.34539.6a178982@gitrepo.freebsd.org> The branch main has been updated by jilles: URL: https://cgit.FreeBSD.org/src/commit/?id=3ca8ec19b6ecc8ae4413d0505ce2d0efdd3e52c8 commit 3ca8ec19b6ecc8ae4413d0505ce2d0efdd3e52c8 Author: Jilles Tjoelker AuthorDate: 2026-05-09 22:01:50 +0000 Commit: Jilles Tjoelker CommitDate: 2026-05-09 22:02:25 +0000 libc: correct posix_spawn_file_actions_init ENOMEM error The return value of posix_spawn_file_actions_init() is an error number. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D56911 --- lib/libc/gen/posix_spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c index 11cdb5a29d03..faddb0d1494f 100644 --- a/lib/libc/gen/posix_spawn.c +++ b/lib/libc/gen/posix_spawn.c @@ -424,7 +424,7 @@ posix_spawn_file_actions_init(posix_spawn_file_actions_t *ret) fa = malloc(sizeof(struct __posix_spawn_file_actions)); if (fa == NULL) - return (-1); + return (errno); STAILQ_INIT(&fa->fa_list); *ret = fa;