git: cae336280b0d - main - MFV: less: Do not trust st_size if it equals zero
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Apr 2024 05:33:51 UTC
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(-)