Date: Wed, 24 Apr 2024 05:33:51 GMT From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: cae336280b0d - main - MFV: less: Do not trust st_size if it equals zero Message-ID: <202404240533.43O5Xpox074343@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=cae336280b0d7ad3d49788c5fc0986f91328eb50 commit cae336280b0d7ad3d49788c5fc0986f91328eb50 Merge: feabaf8d5389 e8ec4b5d1202 Author: Ricardo Branco <rbranco@suse.de> AuthorDate: 2024-04-24 05:29:46 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2024-04-24 05:33:26 +0000 MFV: less: Do not trust st_size if it equals zero This is a smaller version of upstream 1fafd968b48e5cea6c85f126d77071a8de707a55 to address the issue that less not being able to operate on files residing in pseudo-filesystems that advertize a zero size value. PR: bin/276133 MFC after: 3 days contrib/less/ch.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404240533.43O5Xpox074343>