From nobody Sat Nov 14 14:30:40 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 4jRc403wwzz718k0 for ; Sat, 14 Nov 2026 14:30:40 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jRc402ntCz4JW4 for ; Sat, 14 Nov 2026 14:30:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794666640; 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=VssGOXnzbWd2Sa/5/sKAsexqRTKLhiJ10cPPa8e0H4w=; b=CJm41blgZNWxlm5ydPynE2YryKpCpsOubF1H0Nh3ZwL+tGwDneNNksjK2whq4IFGA7aOff Eby7joylRKQbz61W6CQAg+WovHPAdzANErL0Z+WRZZuUMcnzSPXTyISzglu8Tkq7LdSFSd 8nO5wX/wS/21AQrzWsX1iDwk2IgMNaBBYpG4hS5nmbuDiQFJsyhLvyEvJ8+OA0laAkpQJw 6peM4ElhiRipO7U5i3RQtXe34VgS7+Hzdhn/XJmdrfp+XCam/Rnl+6MjIy6Us+hbqQPlku LqqDcBOqE5TbQ2Wpmgfpe9F0oPup5KB4ADKUkScXRSKSNbRLa7L1F0wrLGJ6Fw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794666640; b=l1Y83hhACKktp6Kg/BLq8HzsonzgQd/3SsS5qYinN6b9oHjR9CxNYX1aSAU1Bc0in/ydqg rOAZPx9uMkN2gRJBOmTKNAG87/oUUuP8G4eUO0SUwYEinA3dlecUXDdz26yll/Gt5xWbcf fB0nfvNlGrEBY8zzAj3F3dpMOAEPeRwOmaDcR9VPGTMDsvJTdzmnRlI1ijnQL0UegkaXrh jnyraSK1mFigxsK/tA4g/k4gNTrownhXbsYonPeHKQKWFLFAeICpoVBfsMZTtlKdarnp2x KIV8yiVOTNqqmrrucS5DWxvf4U0phxJfgBSzBZxur37UwcC+GFGot/+X6j3EAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794666640; 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=VssGOXnzbWd2Sa/5/sKAsexqRTKLhiJ10cPPa8e0H4w=; b=Qui98kA6RFi0fsTPw0/lBqNRHyx0clytU0XYOruIAPHdw+g6xyHlxHkoYSXwYcyEbrtpBC 3LZN4G9mJ25Rhu21N++tjt8yq4E+/RxdDJfOhJtA8yzFw/9g4mutrCNgQFAUxc/zggBa6u iZEOUrbnyRzXU2xFYT94BjljU3tzsDWNAVtti28IVXCglfhbdRSt2z20+GU0gZkrtSIwAM HFaBVZX8ZfZZtIORcv7lCMvqeYWAxp4/XSPeEOz8+K0hSbwZGqNdJ38+TgtgI+BTUabnvG 8DkjQGGt8JL6MBK6d+v6ozpFaPxA3qBjcy5fodvrJzM5I1lVQA7xpyM6fFOvOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jRc402SSmzPY3 for ; Sat, 14 Nov 2026 14:30:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id cf1c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 14 Nov 2026 14:30:40 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ryan Moeller Subject: git: 8bb34ce5c9f6 - main - liblua: Accept + and e in io.popen mode List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository 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: rmoeller X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bb34ce5c9f6fad11223dab31846b4377bf8472d Auto-Submitted: auto-generated Date: Sat, 14 Nov 2026 14:30:40 +0000 Message-Id: <6af87090.cf1c.51e5470b@gitrepo.freebsd.org> The branch main has been updated by rmoeller: URL: https://cgit.FreeBSD.org/src/commit/?id=8bb34ce5c9f6fad11223dab31846b4377bf8472d commit 8bb34ce5c9f6fad11223dab31846b4377bf8472d Author: Ryan Moeller AuthorDate: 2026-11-12 04:52:38 +0000 Commit: Ryan Moeller CommitDate: 2026-11-14 14:26:25 +0000 liblua: Accept + and e in io.popen mode Our popen(3) accepts more than the historical "r" and "w" types. Define the appropriate macro to provide a custom mode check accepting all valid pipe types. Reviewed by: kevans Approved by: kevans (mentor) Differential Revision: https://reviews.freebsd.org/D61175 --- lib/liblua/luaconf.local.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/liblua/luaconf.local.h b/lib/liblua/luaconf.local.h index 8f3fef15ddca..e14e32f50836 100644 --- a/lib/liblua/luaconf.local.h +++ b/lib/liblua/luaconf.local.h @@ -15,6 +15,10 @@ #define LUA_USE_POSIX #ifndef BOOTSTRAPPING #define LUA_USE_DLOPEN +#define l_checkmodep(m) \ + (strcmp(m, "r") == 0 || strcmp(m, "re") == 0 || \ + strcmp(m, "r+") == 0 || strcmp(m, "r+e") == 0 || \ + strcmp(m, "w") == 0 || strcmp(m, "we") == 0) #endif #undef LUA_ROOT