From nobody Thu Mar 5 23:58:24 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 4fRmhP300Fz6Tst1 for ; Thu, 05 Mar 2026 23:58:29 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fRmhP2VsLz3VDQ for ; Thu, 05 Mar 2026 23:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1772755109; 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=aFFWhuPoVJ3XNMxvYu4MfzC6DHKX45N5tLjKBH+qQEg=; b=lQXi+FAYufY7KB2lhXLoh7IXJMruhmqEpV+LCJVcml5yct+MCgpAAWXOawNLKSPiZesAk9 LwSc+mYIhmMZbCxxxOSyY6PZ04kHMcX0/gih7KwcwISFGg1aVRCIU8rTXeQNyuG2pxfykO jD/0z6v6hTozU3G8yv7w8OPAByDDPIr0tWXuIXarMIW6vPx+0pWeitluMOAfCwVV4EBkj2 5B6OpcA7X7bK+8vzCM7ZXVF9VSVmplpS+4h9+6JLvSKqQQUbV6g65+8OurPUtJQpDvmFYh xmkgsRh6zmmkzMQqCL6V3ID01EMK2g2k3dbiE/F89fTTRjeW1OuGjYBWhqyT+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1772755109; a=rsa-sha256; cv=none; b=dcVji1iAGQSuiq0YDroETpYiCKZOuu0llMGTXk5gsORZnR+K29SDQ7HGkvWwt3CM7GRrV1 nvfc0Lk9B+6fhKBxziF6y9gZHBQJcVW18LI5CvS3tg+M9zgtRRVPuLGQcn53shUa8TcLu/ PPnpEueU2OdFujaz2MwuaosdLTdE41YdE+fQp961cmoiMqwVDGpugFqxUBFeSxs1Dcc0sY bN6aUo8LRyUTeXOuWS8BtEefimy9Fc488qOnWAms4qXRe1LEA6CnBqAJE1x4PxihAE/Bv+ e0wRBIPC7kMLb60scFpBvPe86S87DQ7OHBJgKwfTRGrzdfgd57bpOv4Qx61NuA== 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=1772755109; 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=aFFWhuPoVJ3XNMxvYu4MfzC6DHKX45N5tLjKBH+qQEg=; b=KitKwBLGGrS9GXIoFavr8alMkPBRKx7RGSmgankAUDRE+7MnT9wcIb4+oWbisyy9aQPRzM uVY0gs9nAy8o2x4vN4wjeEcFtmcAQ2+rKtWXtFjsY7tpjlIx1DWHHHmJX3CjTL+IJo1xFs 1m7ZC5SGqpjMZ1kx4/4//gqpAlQOYUQrSz5bZ5b2wCXvhRArdESxyzA4qIotTVauLeTy2+ YF98csEquFp15emS138EgyxziyzOQ6jfa9Qa/96CaEU74iOCPXlRqyZUpaERg4fhQyOT/s uvmo4l2U+zCF5GZe+YySbnB3s+fFIVdH08z/IwjmUXWSn+tA9/Vg75eUpKKyhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fRmhP1fH5zyKJ for ; Thu, 05 Mar 2026 23:58:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1885c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 05 Mar 2026 23:58:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: b302ca6801dd - stable/14 - lesspipe: Allow zstd to operate on a symlink 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: b302ca6801dd6a3de0133c51c21609cb96a889c9 Auto-Submitted: auto-generated Date: Thu, 05 Mar 2026 23:58:24 +0000 Message-Id: <69aa18a0.1885c.ffefe5e@gitrepo.freebsd.org> The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b302ca6801dd6a3de0133c51c21609cb96a889c9 commit b302ca6801dd6a3de0133c51c21609cb96a889c9 Author: Ed Maste AuthorDate: 2026-02-04 16:56:37 +0000 Commit: Ed Maste CommitDate: 2026-03-05 23:57:55 +0000 lesspipe: Allow zstd to operate on a symlink By default zstd refuses to operate on symlinks, so for example `zless /var/crash/vmcore.last.zst` failed to view the uncompressed core file. Add -f to the zstd command line to allow operation on symlinks. Reviewed by: delphij Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55101 (cherry picked from commit b4305c90a3be7e1a40b76545b8b761fdbda5c309) (cherry picked from commit 68125692efacbce537e14ba16ecedff750cccc36) --- usr.bin/less/lesspipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/less/lesspipe.sh b/usr.bin/less/lesspipe.sh index 253914b8b3ee..6fc6cc471638 100644 --- a/usr.bin/less/lesspipe.sh +++ b/usr.bin/less/lesspipe.sh @@ -21,7 +21,7 @@ case "$1" in exec lzma -d -c "$1" 2>/dev/null ;; *.zst) - exec zstd -d -q -c "$1" 2>/dev/null + exec zstd -d -q -c -f "$1" 2>/dev/null ;; *) exec cat "$1" 2>/dev/null ;;