git: DragonFly_RELEASE_6_4 wc(1): Ignore zero st_size to work on pseudo-filesystems
Aaron LI
aly at crater.dragonflybsd.org
Tue Mar 5 17:53:36 PST 2024
commit b764354910f5b1cead6a4dbd55ff8aeb332d2fd4
Author: Ricardo Branco <rbranco at suse.de>
Date: Sun Mar 3 23:06:00 2024 +0100
wc(1): Ignore zero st_size to work on pseudo-filesystems
Without this fix, 'wc -c' was failing on pseudo-filesystems, for example:
wc -c /proc/$$/status
GitHub PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/19
Summary of changes:
usr.bin/wc/wc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b764354910f5b1cead6a4dbd55ff8aeb332d2fd4
--
DragonFly BSD source repository
More information about the Commits
mailing list